From ad4ac2844481fb078314f0ed1ab1ad74e42638af Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 9 Jul 2023 19:55:38 +0800 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3c54d364..c369b876 100644 --- a/nginx.conf +++ b/nginx.conf @@ -33,10 +33,10 @@ http { index index.html; } - location /assets { - expires 7d; - add_header Cache-Control "public"; - } + location /assets { + expires 7d; + add_header Cache-Control "public"; + } location /api/v1/site/icon/ { # 站点图标缓存