更新 nginx.conf

This commit is contained in:
zhangkaihuai
2025-01-03 16:28:17 +00:00
parent e0a92b51f3
commit 62c8da2ea2

View File

@@ -30,7 +30,7 @@ http {
listen [::]:80;
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-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;