docs/setup: proxy pass host header to websocket server

This commit is contained in:
Ángel Castañeda authored and Simon Ser committed 2024-03-19 14:26:57 +01:00
1 parent 3584c1eb10
commit 5db432b57a
1 file changed
+1
+1
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;
}