all repos — nixfiles @ 2a58d7d1b0236003a463172376269b4fd89d31c8

System and user configuration, managed by nix and home-manager

linde: fix 404 handling of website backup
Alan Pearce alan@alanpearce.eu
Sun, 02 Jun 2024 12:58:00 +0200
commit

2a58d7d1b0236003a463172376269b4fd89d31c8

parent

c4551822cada1f096d32ee73c95252b1145071e9

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -694,8 +694,8 @@ root * /srv/http/website/public             file_server
             ${security-headers {}}
             handle_errors {
-              root * /srv/http/website/private
-              rewrite * 404.html
+              rewrite * /404.html
+              file_server
             }
           '';
         };