更新 nginx.conf

This commit is contained in:
jxxghp 2023-07-09 19:55:38 +08:00 committed by GitHub
parent 8b149bc7b3
commit ad4ac28444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,10 @@ http {
index index.html; index index.html;
} }
location /assets { location /assets {
expires 7d; expires 7d;
add_header Cache-Control "public"; add_header Cache-Control "public";
} }
location /api/v1/site/icon/ { location /api/v1/site/icon/ {
# 站点图标缓存 # 站点图标缓存