diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-01-26 22:14:36 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-01-26 22:14:36 +0100 |
commit | 6357c11d61c9286c591a758dd735a2ba5a2ac26f (patch) | |
tree | a7096586bd5235538eefd4e180732ea4a32206c7 /nginx/arch_ssl.conf | |
parent | 9e9fffc899c41eccd031212ef0af23c78fc7a1c6 (diff) | |
download | aurbuilder-6357c11d61c9286c591a758dd735a2ba5a2ac26f.tar.gz |
nginx.conf
Diffstat (limited to 'nginx/arch_ssl.conf')
-rw-r--r-- | nginx/arch_ssl.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nginx/arch_ssl.conf b/nginx/arch_ssl.conf new file mode 100644 index 0000000..40ec2b7 --- /dev/null +++ b/nginx/arch_ssl.conf @@ -0,0 +1,24 @@ +# vi: ft=nginx + +server { + listen 443 ssl; + #server_name localhost; + + ssl_certificate cert.pem; + ssl_certificate_key cert.key; + + ssl_session_cache shared:SSL:1m; + ssl_session_timeout 5m; + + ssl_ciphers HIGH:!aNULL:!MD5; + ssl_prefer_server_ciphers on; + + location / { + root /srv/arch/; + + autoindex on; + autoindex_exact_size off; + autoindex_format html; + autoindex_localtime on; + } +} |