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 = {
|
||||
addSSL = true;
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
root = "/var/www/m-labs.hk";
|
||||
root = "${hydraWwwOutputs}/web";
|
||||
locations."/MathJax" = {
|
||||
alias = "/var/www/MathJax";
|
||||
};
|
||||
locations."/gateware.html".extraConfig = ''
|
||||
return 301 /gateware/migen/;
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue