add etags

This commit is contained in:
Ingolf Wagner 2024-09-01 21:23:00 +07:00
parent ad35b322c5
commit 485cdfe116
No known key found for this signature in database
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;
}