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 = {
|
||||
"matrix.twoneis.site" = {
|
||||
serverName = "matrix.twoneis.site";
|
||||
forceSSL = false;
|
||||
forceSSL = true;
|
||||
useACMEHost = "twoneis.site";
|
||||
locations = {
|
||||
"/" = {
|
||||
recommendedProxySettings = true;
|
||||
|
@ -19,6 +20,7 @@ in mkIf conf.matrix.enable {
|
|||
enable = true;
|
||||
settings.global = {
|
||||
server_name = "matrix.twoneis.site";
|
||||
allow_registration = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue