Update 000-default.conf

This commit is contained in:
Christer Warén 2024-04-18 18:25:27 +03:00
parent 7ad7dbc5d5
commit d99de26c02

View File

@ -19,7 +19,7 @@ server {
root /usr/share/nginx/html;
index index.html index.htm;
return 301 https://$host$request_uri/;
return 301 https://$host$request_uri;
}
location /.well-known/acme-challenge/ {
@ -65,8 +65,11 @@ server {
gunzip on;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
proxy_pass http://127.0.0.1:3000/;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
if ($request_method !~ ^(GET|HEAD|POST)$ )