forked from M-Labs/nix-scripts
serve website from hydra
This commit is contained in:
parent
5326cab419
commit
78caeebf02
@ -255,7 +255,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
mainWebsite = {
|
mainWebsite = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
useACMEHost = "nixbld.m-labs.hk";
|
useACMEHost = "nixbld.m-labs.hk";
|
||||||
root = "/var/www/m-labs.hk";
|
root = "${hydraWwwOutputs}/web";
|
||||||
|
locations."/MathJax" = {
|
||||||
|
alias = "/var/www/MathJax";
|
||||||
|
};
|
||||||
locations."/gateware.html".extraConfig = ''
|
locations."/gateware.html".extraConfig = ''
|
||||||
return 301 /gateware/migen/;
|
return 301 /gateware/migen/;
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user