fix(deploy): remove orphaned proxy directives from template cleanup

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-23 18:41:31 +08:00
parent 57394387cc
commit 5efb89a252
3 changed files with 16 additions and 19 deletions
-13
View File
@@ -53,19 +53,6 @@ server {
proxy_send_timeout 300s;
}
;
proxy_http_version 1.1;
proxy_set_header Host $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;
# WS(/v1/realtime)升级;普通 HTTP 请求不受影响。
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_read_timeout 75s;
proxy_send_timeout 75s;
}
# admin(hash 路由:静态直达即工作;try_files 兜底异常直链)。
location ^~ /admin/ {
alias /usr/share/nginx/html/admin/;