diff --git a/nginx.conf b/nginx.conf index 4a2d340..035d3d0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,9 +12,10 @@ server { try_files $uri @index ; } - location ~ /mall { - proxy_pass http://k8s-horse-gateway.mashibing.cn/; - } + location ~ /mall/ { + proxy_pass http://k8s-horse-gateway.mashibing.cn/; + } + location @index { add_header Cache-Control "no-store" ;