From 485cdfe11618a7a2c8c47ab391228a1cd8c41c96 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 1 Sep 2024 21:23:00 +0700 Subject: [PATCH] :sparkles: add etags --- machines/orbi/nginx-ingolf-wagner-de.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/orbi/nginx-ingolf-wagner-de.nix b/machines/orbi/nginx-ingolf-wagner-de.nix index eb16f86..212bd7f 100644 --- a/machines/orbi/nginx-ingolf-wagner-de.nix +++ b/machines/orbi/nginx-ingolf-wagner-de.nix @@ -126,6 +126,7 @@ in "/" = { root = "/srv/www/travel"; extraConfig = '' + etag on; if (-d $request_filename) { rewrite [^/]$ $scheme://$http_host$request_uri/ permanent; }