acme and allow registration

This commit is contained in:
twoneis 2025-02-08 02:28:19 +01:00
parent 47fc9f9fc9
commit 0a88324751

View file

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