fix(tanzanite): configure custom 404 page
This commit is contained in:
parent
4818be44d3
commit
5544f0d6c0
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@ in {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "/opt/www/stitchy.moe/public";
|
root = "/opt/www/stitchy.moe/public";
|
||||||
|
extraConfig = ''
|
||||||
|
error_page 404 /404.html;
|
||||||
|
location = /404.html {
|
||||||
|
internal;
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
"gay.stitchy.moe" = {
|
"gay.stitchy.moe" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in a new issue