1
0
Fork 0

redirect nmigen domain to github repos

This commit is contained in:
Sebastien Bourdeauducq 2020-01-30 11:31:21 +08:00
parent 3091d20e23
commit 125654bcce
1 changed files with 16 additions and 0 deletions

View File

@ -386,6 +386,8 @@ in
"hooks.m-labs.hk" = null;
"forum.m-labs.hk" = null;
"perso.m-labs.hk" = null;
"nmigen.org" = null;
"www.nmigen.org" = null;
"openhardware.hk" = null;
"git.openhardware.hk" = null;
@ -542,6 +544,20 @@ in
useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/perso";
};
"nmigen.org" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".extraConfig = ''
return 301 https://github.com/m-labs/nmigen;
'';
};
"www.nmigen.org" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".extraConfig = ''
return 301 https://github.com/m-labs/nmigen;
'';
};
"git.openhardware.hk" = {
forceSSL = true;