fix(deploy): proxy_pass double http:// prefix — API was down

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-23 18:39:12 +08:00
parent 222c44c1f7
commit 57394387cc
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ server {
# 静态资源 gzip 不受影响)。
location ^~ /v1/ {
gzip off;
proxy_pass http://${API_UPSTREAM};
proxy_pass ${API_UPSTREAM};
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;