forked from M-Labs/nix-scripts
host website
This commit is contained in:
parent
aa038520e9
commit
7487560b10
@ -162,6 +162,8 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
"nixbld.m-labs.hk" = {
|
"nixbld.m-labs.hk" = {
|
||||||
webroot = "/var/lib/acme/acme-challenge";
|
webroot = "/var/lib/acme/acme-challenge";
|
||||||
extraDomains = {
|
extraDomains = {
|
||||||
|
"m-labs.hk" = null;
|
||||||
|
"www.m-labs.hk" = null;
|
||||||
"buildbot.m-labs.hk" = null;
|
"buildbot.m-labs.hk" = null;
|
||||||
"lab.m-labs.hk" = null;
|
"lab.m-labs.hk" = null;
|
||||||
"git.m-labs.hk" = null;
|
"git.m-labs.hk" = null;
|
||||||
@ -173,6 +175,16 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
virtualHosts = {
|
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" = {
|
"buildbot.m-labs.hk" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
useACMEHost = "nixbld.m-labs.hk";
|
useACMEHost = "nixbld.m-labs.hk";
|
||||||
|
Loading…
Reference in New Issue
Block a user