summary refs log tree commit diff stats
path: root/system/linde.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-06-02 12:58:00 +0200
committerAlan Pearce2024-06-02 12:58:00 +0200
commit2a58d7d1b0236003a463172376269b4fd89d31c8 (patch)
treeed93a0ad410e17574f49fbb0f86edd127679772d /system/linde.nix
parentc4551822cada1f096d32ee73c95252b1145071e9 (diff)
downloadnixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.tar.lz
nixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.tar.zst
nixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.zip
linde: fix 404 handling of website backup
Diffstat (limited to 'system/linde.nix')
-rw-r--r--system/linde.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 3f1d5777..59fa4c77 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -694,8 +694,8 @@ in
             file_server
             ${security-headers {}}
             handle_errors {
-              root * /srv/http/website/private
-              rewrite * 404.html
+              rewrite * /404.html
+              file_server
             }
           '';
         };