Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
37abfad6a2
@ -27,12 +27,17 @@ http {
|
||||
|
||||
|
||||
location / {
|
||||
expires 600s;
|
||||
add_header Cache-Control must-revalidate;
|
||||
expires off;
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
root /app/public;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location /assets {
|
||||
expires 7d;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location /api/v1/site/icon/ {
|
||||
# 站点图标缓存
|
||||
proxy_cache my_cache;
|
||||
|
Loading…
x
Reference in New Issue
Block a user