更新 nginx.conf

This commit is contained in:
zhangkaihuai
2025-01-03 16:21:02 +00:00
parent a68c362490
commit e0a92b51f3

View File

@@ -30,7 +30,7 @@ http {
listen [::]:80;
location /api {
proxy_pass http://gateway.pro.svc.cluster.local:8080;
proxy_pass http://gateway.pro.svc.cluster.local:80;
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;