enable mattermost

This commit is contained in:
Sebastien Bourdeauducq 2019-04-01 00:12:46 +08:00
parent 1f5487f9e6
commit 11607451bc
1 changed files with 10 additions and 0 deletions

View File

@ -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";
};
}; };
}; };