better matrix syntax

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

View File

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