Compare commits
2 Commits
c93f36102e
...
1df751c9ca
Author | SHA1 | Date |
---|---|---|
Fred Boniface | 1df751c9ca | |
Fred Boniface | 60ece7661c |
|
@ -56,10 +56,8 @@ 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/ /index.html;
|
try_files $uri $uri/ $uri.html /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/ {
|
||||||
|
@ -81,9 +79,6 @@ 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";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue