统一全系统资源加载、轻量趋势与缓存恢复
This commit is contained in:
@@ -61,7 +61,12 @@ server {
|
||||
proxy_cookie_flags XSRF-TOKEN secure samesite=strict;
|
||||
}
|
||||
|
||||
# 静态文本压缩只在站点根目录启用;API 的 SSE 代理缓冲仍保持关闭。
|
||||
location / {
|
||||
gzip on;
|
||||
gzip_min_length 1024;
|
||||
gzip_vary on;
|
||||
gzip_types text/plain text/css application/javascript application/json image/svg+xml application/xml;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user