更新 nginx.conf

msb_beta
覃昌波 4 years ago
parent 52ac5e3f4b
commit 5a46193cb5

@ -12,10 +12,12 @@ server {
try_files $uri @index ; try_files $uri @index ;
} }
location /mall|uc{ location /mall{
proxy_pass http://k8s-horse-gateway.mashibing.cn;
}
location /uc{
proxy_pass http://k8s-horse-gateway.mashibing.cn; proxy_pass http://k8s-horse-gateway.mashibing.cn;
} }
location @index { location @index {
add_header Cache-Control "no-store" ; add_header Cache-Control "no-store" ;
root /usr/share/nginx/html; root /usr/share/nginx/html;

Loading…
Cancel
Save