Merge branch 'nginx' into debug

This commit is contained in:
2023-01-30 13:08:06 -06:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -13,9 +13,19 @@ server {
add_header X-Frame-Options 'SAMEORIGIN';
location / {
include proxy_params;
proxy_pass http://localhost:5000/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /socket.io {
include proxy_params;
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://127.0.0.1:5000/socket.io;
}
}