forked from M-Labs/nix-scripts
nixbld: use custom 404 page
This commit is contained in:
parent
789336adca
commit
4d0c0e295a
@ -257,6 +257,9 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
addSSL = true;
|
addSSL = true;
|
||||||
useACMEHost = "nixbld.m-labs.hk";
|
useACMEHost = "nixbld.m-labs.hk";
|
||||||
root = "${hydraWwwOutputs}/web";
|
root = "${hydraWwwOutputs}/web";
|
||||||
|
extraConfig = ''
|
||||||
|
error_page 404 /404.html;
|
||||||
|
'';
|
||||||
locations."/MathJax" = {
|
locations."/MathJax" = {
|
||||||
alias = "/var/www/MathJax";
|
alias = "/var/www/MathJax";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user