host website

This commit is contained in:
Sebastien Bourdeauducq 2019-04-21 10:43:48 +08:00
parent aa038520e9
commit 7487560b10

View File

@ -162,6 +162,8 @@ ACTION=="add", SUBSYSTEM=="tty", \
"nixbld.m-labs.hk" = {
webroot = "/var/lib/acme/acme-challenge";
extraDomains = {
"m-labs.hk" = null;
"www.m-labs.hk" = null;
"buildbot.m-labs.hk" = null;
"lab.m-labs.hk" = null;
"git.m-labs.hk" = null;
@ -173,6 +175,16 @@ ACTION=="add", SUBSYSTEM=="tty", \
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"m-labs.hk" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/m-labs.hk";
};
"www.m-labs.hk" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
root = "/var/www/m-labs.hk";
};
"buildbot.m-labs.hk" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";