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 <me@jackyu.cn>
This commit is contained in:
Simon Zöllner
2026-04-04 03:50:48 +02:00
committed by GitHub
parent d895c4a336
commit b9e1951423
+1 -1
View File
@@ -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;