fix: CI调整
This commit is contained in:
1 parent
311bd719c9
commit
c88da44db0
8 files changed
+85
-51
No files matched your search
+3
-2
@@ -39,9 +39,10 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# API proxy to backend (configurable via $API_UPSTREAM)
|
||||
# API proxy to backend (container network)
|
||||
location /api/ {
|
||||
proxy_pass $API_UPSTREAM;
|
||||
# Keep original request path; backend service name resolves inside Docker network
|
||||
proxy_pass http://backend:18888;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in new issue
Block a user