This commit is contained in:
yidl 2025-07-02 01:32:17 +08:00
parent afdd5744a7
commit 29df7e83b1
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Port $server_port; # 有些情况下需要
proxy_set_header Referer $http_referer;
# 关键重写后端返回的Location头防止重定向到内部端口
proxy_redirect https://sys-api https://$host:8001/;
}