better matrix syntax
This commit is contained in:
@@ -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};
|
||||||
|
|||||||
Reference in New Issue
Block a user