summaryrefslogtreecommitdiff
path: root/configs/nginx/ssl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'configs/nginx/ssl.conf')
-rw-r--r--configs/nginx/ssl.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/nginx/ssl.conf b/configs/nginx/ssl.conf
new file mode 100644
index 00000000..3b24ade1
--- /dev/null
+++ b/configs/nginx/ssl.conf
@@ -0,0 +1,5 @@
+ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
+ssl_certificate /etc/nginx/ssl/server.crt;
+ssl_certificate_key /etc/nginx/ssl/server.key;
+add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;