Merge pull request '更新 nginx.conf' (#407) from zhangkaihuai-patch-2 into dev

Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/407
This commit is contained in:
zhangkaihuai
2025-01-03 16:21:11 +00:00

View File

@@ -30,7 +30,7 @@ http {
listen [::]:80; listen [::]:80;
location /api { 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-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;