Compare commits

..

No commits in common. "1df751c9ca6864422669a7422c826766e6946820" and "c93f36102e12da98333442157da0586e1ecb8a33" have entirely different histories.

2 changed files with 8 additions and 3 deletions

View File

@ -56,8 +56,10 @@ http {
gzip_static on; gzip_static on;
brotli_static on; brotli_static on;
error_page 500 502 503 504 /err/50x.html; error_page 500 502 503 504 /err/50x.html;
try_files $uri $uri/ $uri.html /index.html; try_files $uri $uri/ /index.html;
add_header Cache-Control "public, no-transform, max-age=1209600"; add_header Cache-Control "public, no-transform, max-age=1209600";
rewrite ^([^.]*[^/])$ $1/ permanent;
} }
location /misc/ { location /misc/ {
@ -79,6 +81,9 @@ http {
gzip_comp_level 6; gzip_comp_level 6;
gzip_types *; gzip_types *;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate
add_header Cache-Control "private, no-transform, max-age=120";
} }
} }

View File

@ -1,3 +1,3 @@
export const version: string = '2024.06.1'; export const version: string = "2024.06.1";
export const versionTag: string = ''; export const versionTag: string = "";
export const showWelcome: boolean = false; export const showWelcome: boolean = false;