From 29f5cf4e15099c3862ce4df240d0452c6425df3c Mon Sep 17 00:00:00 2001 From: Andrea Foletto Date: Thu, 16 Dec 2021 09:12:16 +0100 Subject: [PATCH] Updated nginx/yaaaw.conf file to use it with nginx proxy manager --- nginx/yaaaw.conf | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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 / { }