ci: k8s部署
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user