Changeset 0.37.14 (#226)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -20,8 +20,7 @@ server {
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
location ~* \.(css|js)$ {
|
||||
expires 1h;
|
||||
add_header Cache-Control "public, must-revalidate";
|
||||
add_header Cache-Control "no-cache, must-revalidate";
|
||||
}
|
||||
|
||||
# ── API + WebSocket → backend ────────────
|
||||
@@ -97,8 +96,8 @@ server {
|
||||
# v0.29.2: ^~ prefix beats regex; corrected alias to /data/storage/packages/.
|
||||
location ^~ /surfaces/ {
|
||||
alias /data/storage/packages/;
|
||||
expires 1h;
|
||||
add_header Cache-Control "public";
|
||||
expires off;
|
||||
add_header Cache-Control "no-cache";
|
||||
}
|
||||
|
||||
# Fallback: redirect unknown paths to root
|
||||
|
||||
Reference in New Issue
Block a user