forked from M-Labs/nix-scripts
nixbld: forward some traffic to stewart's machine
This commit is contained in:
parent
8d77380ff3
commit
898e81abc3
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue