forked from M-Labs/nix-scripts
enable mattermost
This commit is contained in:
parent
1f5487f9e6
commit
11607451bc
|
@ -119,6 +119,11 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
rootUrl = "https://git.m-labs.hk/";
|
rootUrl = "https://git.m-labs.hk/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.mattermost = {
|
||||||
|
enable = true;
|
||||||
|
siteUrl = "https://chat.m-labs.hk/";
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
@ -143,6 +148,11 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://127.0.0.1:3001";
|
locations."/".proxyPass = "http://127.0.0.1:3001";
|
||||||
};
|
};
|
||||||
|
"chat.m-labs.hk" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://127.0.0.1:8065";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue