Add an apparently important setting for websocket connections.

This commit is contained in:
trading_peter 2024-09-13 17:45:00 +02:00
parent 48490673ea
commit d524f36101

View File

@ -14,6 +14,7 @@ server {
location / {
proxy_pass http://localhost:{{.InternalPort}}/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;