From 70a1d8c61875086470522ed0a3bb81d834373dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A6=83=E6=98=8C=E6=B3=A2?= Date: Mon, 11 Apr 2022 11:15:48 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nginx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" ;