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

View File

@ -386,6 +386,8 @@ in
"hooks.m-labs.hk" = null; "hooks.m-labs.hk" = null;
"forum.m-labs.hk" = null; "forum.m-labs.hk" = null;
"perso.m-labs.hk" = null; "perso.m-labs.hk" = null;
"nmigen.org" = null;
"www.nmigen.org" = null;
"openhardware.hk" = null; "openhardware.hk" = null;
"git.openhardware.hk" = null; "git.openhardware.hk" = null;
@ -542,6 +544,20 @@ in
useACMEHost = "nixbld.m-labs.hk"; useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/perso"; 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" = { "git.openhardware.hk" = {
forceSSL = true; forceSSL = true;