better matrix syntax

This commit is contained in:
Danilo Reyes 2025-03-28 02:10:18 -06:00
parent 6519d409ad
commit 1d391c0667

View File

@ -70,11 +70,13 @@ in
"${cfg.host}" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
return 404;
'';
locations."/_matrix".proxyPass = "http://[::1]:${toString cfg.port}";
locations."/_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
locations = {
"/".extraConfig = ''
return 404;
'';
"/_matrix".proxyPass = "http://[::1]:${toString cfg.port}";
"/_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
};
extraConfig = ''
ssl_verify_client on;
ssl_client_certificate ${config.sops.secrets."iqQCY4iAWO-ca/pem".path};