Updated nginx/yaaaw.conf file to use it with nginx proxy manager

This commit is contained in:
Andrea Foletto 2021-12-16 09:12:16 +01:00
parent 3bcb62a362
commit 29f5cf4e15

View File

@ -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 / { }