add etags
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 9m34s

This commit is contained in:
Ingolf Wagner 2024-09-01 21:23:00 +07:00
parent ad35b322c5
commit 485cdfe116
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -126,6 +126,7 @@ in
"/" = {
root = "/srv/www/travel";
extraConfig = ''
etag on;
if (-d $request_filename) {
rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
}