mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-06-19 07:36:59 +00:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user