1
0
Fork 0

nixbld: add /gateware.html redirect to nginx

gitea issue #11
This commit is contained in:
Astro 2019-05-13 18:17:27 +02:00
parent 28879f2c89
commit b1b21e9c25
1 changed files with 6 additions and 0 deletions

View File

@ -192,11 +192,17 @@ ACTION=="add", SUBSYSTEM=="tty", \
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/m-labs.hk";
locations."/gateware.html".extraConfig = ''
return 301 /migen/;
'';
};
"www.m-labs.hk" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/m-labs.hk";
locations."/gateware.html".extraConfig = ''
return 301 /migen/;
'';
};
"lab.m-labs.hk" = {
addSSL = true;