mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 14:40:32 +01:00
Added http error handling to caddyfile
This commit is contained in:
parent
c21740e23e
commit
634fac70f0
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue