This commit is contained in:
zfxt-ubuntu
2025-09-02 23:26:36 +08:00
parent 37d1dd22bc
commit a92e13d0b8

View File

@@ -21,7 +21,7 @@ http {
# 代理API请求到后端
location /api/ {
proxy_pass http://my-backend-api:5000/;
proxy_pass http://my-backend-api:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;