acme and allow registration
This commit is contained in:
parent
47fc9f9fc9
commit
0a88324751
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,8 @@ in mkIf conf.matrix.enable {
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"matrix.twoneis.site" = {
|
"matrix.twoneis.site" = {
|
||||||
serverName = "matrix.twoneis.site";
|
serverName = "matrix.twoneis.site";
|
||||||
forceSSL = false;
|
forceSSL = true;
|
||||||
|
useACMEHost = "twoneis.site";
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
@ -19,6 +20,7 @@ in mkIf conf.matrix.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.global = {
|
settings.global = {
|
||||||
server_name = "matrix.twoneis.site";
|
server_name = "matrix.twoneis.site";
|
||||||
|
allow_registration = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue