better matrix syntax
This commit is contained in:
parent
6519d409ad
commit
1d391c0667
@ -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};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user