Add an apparently important setting for websocket connections.
This commit is contained in:
parent
48490673ea
commit
d524f36101
1
host.tpl
1
host.tpl
@ -14,6 +14,7 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:{{.InternalPort}}/;
|
proxy_pass http://localhost:{{.InternalPort}}/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection upgrade;
|
proxy_set_header Connection upgrade;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
Reference in New Issue
Block a user