diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index f23b2d1..141b396 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -24,6 +24,10 @@ with lib; { configFile = pkgs.writeText "Caddyfile" '' heroin.trade { root * /var/www/website/public/ + handle_errors { + rewrite * /404.html + file_server +} file_server } syncthing.heroin.trade {