From b9e195142397179264fb62119326a785edd71709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Z=C3=B6llner?= Date: Sat, 4 Apr 2026 03:50:48 +0200 Subject: [PATCH] Fix #1619, WebSocket check fails during initial setup on custom ports (#1620) * enhance(ws): improve session security * Fix #1619, WebSocket check fails during initial setup on custom ports in docker --------- Co-authored-by: 0xJacky --- template/block/nginx-ui.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/block/nginx-ui.conf b/template/block/nginx-ui.conf index a59a77ad..9bed8257 100644 --- a/template/block/nginx-ui.conf +++ b/template/block/nginx-ui.conf @@ -11,7 +11,7 @@ map $http_upgrade $connection_upgrade { } # Nginx UI Custom End location / { - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;