From e5d2d03f44167c7a9cd80c58383c673512cb37f5 Mon Sep 17 00:00:00 2001 From: vv01f Date: Mon, 25 Apr 2022 10:33:21 +0200 Subject: [PATCH] idee: nicht existierende jahre auf datei umbiegen --- hosts/containers/c3d2-web/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/containers/c3d2-web/default.nix b/hosts/containers/c3d2-web/default.nix index 151587e7..acd4500d 100644 --- a/hosts/containers/c3d2-web/default.nix +++ b/hosts/containers/c3d2-web/default.nix @@ -65,6 +65,7 @@ in extraConfig = '' index index.html; rewrite ^/$ /2021/ redirect; + try_files $uri /future.html =404; ''; };