Updated nginx/yaaaw.conf file to use it with nginx proxy manager
This commit is contained in:
parent
3bcb62a362
commit
29f5cf4e15
@ -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 / { }
|
||||
|
Loading…
x
Reference in New Issue
Block a user