Added http error handling to caddyfile

This commit is contained in:
xqtc161 2024-04-19 18:21:56 +02:00
parent c21740e23e
commit 634fac70f0

View file

@ -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 {