更新 nginx.conf
This commit is contained in:
@@ -30,7 +30,7 @@ http {
|
|||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://gateway.pro.svc.cluster.local:80;
|
proxy_pass http://gateway.pro.svc.cluster.local:8080;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
|||||||
Reference in New Issue
Block a user