docs/setup: proxy pass host header to websocket server

This commit is contained in:
Ángel Castañeda 2024-03-19 08:08:59 -05:00 committed by Simon Ser
parent 3584c1eb10
commit 5db432b57a

View file

@ -38,6 +38,7 @@ location /socket {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}