summaryrefslogtreecommitdiffstats
path: root/conf.d/02_ssl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/02_ssl.conf')
-rw-r--r--conf.d/02_ssl.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf.d/02_ssl.conf b/conf.d/02_ssl.conf
new file mode 100644
index 0000000..3b00354
--- /dev/null
+++ b/conf.d/02_ssl.conf
@@ -0,0 +1,8 @@
+ssl_certificate /etc/nginx/certs/localhost.crt;
+ssl_certificate_key /etc/nginx/certs/localhost.key;
+ssl_session_timeout 5m;
+ssl_prefer_server_ciphers on;
+ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+ssl_ciphers AES256+EECDH:AES256+EDH:!aNULL;
+
+proxy_ssl_server_name on;