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/ { # 站点图标缓存