✨ add etags
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 9m34s
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 9m34s
This commit is contained in:
parent
ad35b322c5
commit
485cdfe116
|
@ -126,6 +126,7 @@ in
|
||||||
"/" = {
|
"/" = {
|
||||||
root = "/srv/www/travel";
|
root = "/srv/www/travel";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
etag on;
|
||||||
if (-d $request_filename) {
|
if (-d $request_filename) {
|
||||||
rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
|
rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue