aboutsummaryrefslogtreecommitdiff
path: root/nginx/arch_ssl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/arch_ssl.conf')
-rw-r--r--nginx/arch_ssl.conf24
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;
+ }
+}