feat:自动构建
This commit is contained in:
1 parent
183f5e7896
commit
6bcd8f4d09
14 files changed
+752
-112
No files matched your search
+3
-2
@@ -39,9 +39,10 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# API proxy to backend (if backend is on the same server)
|
||||
# API proxy to backend (container network)
|
||||
location /api/ {
|
||||
proxy_pass http://host.docker.internal:18888/api/;
|
||||
# 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