Updated webserver sample configs

This commit is contained in:
Nico Isenbeck
2023-11-11 16:24:06 +01:00
parent 2520b168b2
commit e1b46dc504
2 changed files with 3 additions and 16 deletions
+2 -12
View File
@@ -28,20 +28,10 @@ server {
resolver_timeout 5s;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /notifications/hub {
proxy_pass http://127.0.0.1:3012;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
proxy_set_header Connection $connection_upgrade;
location /notifications/hub/negotiate {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;