nixbld: forward some traffic to stewart's machine

This commit is contained in:
Sebastien Bourdeauducq 2019-05-22 19:23:41 +08:00
parent 8d77380ff3
commit 898e81abc3
1 changed files with 30 additions and 0 deletions

View File

@ -216,6 +216,12 @@ ACTION=="add", SUBSYSTEM=="tty", \
"chat.m-labs.hk" = null; "chat.m-labs.hk" = null;
"hooks.m-labs.hk" = null; "hooks.m-labs.hk" = null;
"forum.m-labs.hk" = null; "forum.m-labs.hk" = null;
"fractalide.org" = null;
"www.fractalide.org" = null;
"hydra.fractalide.org" = null;
"git.fractalide.org" = null;
"luceo.fractalide.org" = null;
}; };
}; };
}; };
@ -298,6 +304,30 @@ ACTION=="add", SUBSYSTEM=="tty", \
include /var/www/flarum/.nginx.conf; include /var/www/flarum/.nginx.conf;
''; '';
}; };
"fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
};
"www.fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
};
"hydra.fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://192.168.1.204:3000";
};
"git.fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://192.168.1.204:3002";
};
"luceo.fractalide.org" = {
forceSSL = true;
useACMEHost = "nixbld.m-labs.hk";
locations."/".proxyPass = "http://192.168.1.204:3001";
};
}; };
}; };
services.uwsgi = { services.uwsgi = {