summaryrefslogtreecommitdiff
path: root/configs/nginx/ssl.conf
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-15 17:01:23 +0300
committerDevaev Maxim <[email protected]>2018-12-15 17:01:23 +0300
commit510300df35b7921f19b52d53d0be4a3a00e2b311 (patch)
treeef5ed926e6681fa2e070f6d398829297131f3a97 /configs/nginx/ssl.conf
parentd652a02ac915a1610d6d0943d3748bf9a950c3b9 (diff)
modular nginx configuration
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;