✨ add etags
This commit is contained in:
parent
ad35b322c5
commit
485cdfe116
1 changed files with 1 additions and 0 deletions
|
@ -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