set certificate of matrix.chir.rs

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-29 21:55:02 +01:00
parent c1102d1c15
commit d4d3d99b2c
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -72,6 +72,8 @@ in
}; };
}]; }];
services.nginx.virtualHosts."matrix.chir.rs" = { services.nginx.virtualHosts."matrix.chir.rs" = {
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
locations."/_matrix" = { locations."/_matrix" = {
proxyPass = "https://matrix.int.chir.rs"; proxyPass = "https://matrix.int.chir.rs";
proxyWebsockets = true; proxyWebsockets = true;