diff --git a/nginx/yaaaw.conf b/nginx/yaaaw.conf index 780e61b..50190e1 100644 --- a/nginx/yaaaw.conf +++ b/nginx/yaaaw.conf @@ -1,28 +1,23 @@ -ssl_session_cache shared:SSL:10m; - -ssl_session_timeout 10m; server { listen 80; - + listen [::]:80 default_server; + server_name yaaaw.it; return 301 https://$host$request_uri; } server { - - listen 443 ssl http2; + ssl_session_cache shared:SSL:10m; + ssl_session_timeout 10m; + listen 443; + listen [::]:443; server_name yaaaw.it; keepalive_timeout 70; - ssl_certificate /data/cert/server.chained.crt; - ssl_certificate_key /data/cert/server.key; - ssl_protocols TLSv1.2; - ssl_ciphers HIGH:!aNULL:!MD5; - root /data/html; location / { }