build : 环境区分
This commit is contained in:
@@ -30,7 +30,7 @@ http {
|
||||
listen [::]:80;
|
||||
|
||||
location /api {
|
||||
proxy_pass http://gateway.mosr.svc.cluster.local:8080;
|
||||
proxy_pass http://gateway.$PROFILES.svc.cluster.local:8080;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
|
||||
Reference in New Issue
Block a user