fix(deploy): proxy_pass double http:// prefix — API was down
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user