diff options
author | Alan Pearce | 2024-06-02 12:58:00 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-02 12:58:00 +0200 |
commit | 2a58d7d1b0236003a463172376269b4fd89d31c8 (patch) | |
tree | ed93a0ad410e17574f49fbb0f86edd127679772d | |
parent | c4551822cada1f096d32ee73c95252b1145071e9 (diff) | |
download | nixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.tar.lz nixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.tar.zst nixfiles-2a58d7d1b0236003a463172376269b4fd89d31c8.zip |
linde: fix 404 handling of website backup
-rw-r--r-- | system/linde.nix | 4 |
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 } ''; }; |