ci: k8s部署

This commit is contained in:
zhangjialin
2022-03-09 17:46:05 +08:00
parent d7a776d626
commit f327e46a82

View File

@@ -33,10 +33,10 @@ http {
} }
# 代理转发请求至网关prod-api标识解决跨域问题 # 代理转发请求至网关prod-api标识解决跨域问题
location /prod-api/ { location /prod-api/ {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_pass http://ks.howlaisi.com:32006/; #proxy_pass http://ks.howlaisi.com:32006/;
proxy_pass http://youlai-gateway-svc.youlai-mall.svc.cluster.local:9999/; proxy_pass http://youlai-gateway-svc.youlai-mall.svc.cluster.local:9999/;
} }
# 重定向错误页面到 /50x.html # 重定向错误页面到 /50x.html
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;