diff --git a/services/matrix.nix b/services/matrix.nix index 7cf1807..c4e55ef 100644 --- a/services/matrix.nix +++ b/services/matrix.nix @@ -170,7 +170,7 @@ in { services.nginx = { virtualHosts = { "matrix.${domain}" = { - forceSSL = true; + onlySSL = true; useACMEHost = domain; locations = @@ -197,7 +197,7 @@ in { # same as above, but listening on the federation port "matrix.${domain}_federation" = rec { - forceSSL = true; + onlySSL = true; serverName = "matrix.${domain}"; useACMEHost = domain;