From 5db432b57acefaec5d788511b3a0f454ec1438fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Casta=C3=B1eda?= Date: Tue, 19 Mar 2024 08:08:59 -0500 Subject: [PATCH] docs/setup: proxy pass host header to websocket server --- doc/setup.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/setup.md b/doc/setup.md index 65d7aa2..61c093b 100644 --- a/doc/setup.md +++ b/doc/setup.md @@ -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; }