diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 2ceaf38..2c4e44c 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -36,6 +36,12 @@ in { enableACME = true; forceSSL = true; root = "/opt/www/stitchy.moe/public"; + extraConfig = '' + error_page 404 /404.html; + location = /404.html { + internal; + } + ''; }; "gay.stitchy.moe" = { enableACME = true;