From ac7290dc3ca3db1047ce3857df0032d506db9f1e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 27 Feb 2022 17:15:34 +0100 Subject: surtr: matrix: remove synapse-admin --- hosts/surtr/matrix/default.nix | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'hosts/surtr/matrix') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 24a78853..842c6c56 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -141,18 +141,6 @@ with lib; }; }; }; - - virtualHosts."admin.synapse.li" = { - forceSSL = true; - sslCertificate = "/run/credentials/nginx.service/admin.synapse.li.pem"; - sslCertificateKey = "/run/credentials/nginx.service/admin.synapse.li.key.pem"; - sslTrustedCertificate = "/run/credentials/nginx.service/admin.synapse.li.chain.pem"; - extraConfig = '' - add_header Strict-Transport-Security "max-age=63072000" always; - ''; - - root = pkgs.synapse-admin; - }; }; security.acme.domains = { @@ -164,14 +152,6 @@ with lib; ''; }; }; - "admin.synapse.li" = { - zone = "synapse.li"; - certCfg = { - postRun = '' - ${pkgs.systemd}/bin/systemctl try-restart nginx.service - ''; - }; - }; "turn.synapse.li" = { zone = "synapse.li"; certCfg = { @@ -201,10 +181,6 @@ with lib; "element.synapse.li.key.pem:${config.security.acme.certs."element.synapse.li".directory}/key.pem" "element.synapse.li.pem:${config.security.acme.certs."element.synapse.li".directory}/fullchain.pem" "element.synapse.li.chain.pem:${config.security.acme.certs."element.synapse.li".directory}/chain.pem" - - "admin.synapse.li.key.pem:${config.security.acme.certs."admin.synapse.li".directory}/key.pem" - "admin.synapse.li.pem:${config.security.acme.certs."admin.synapse.li".directory}/fullchain.pem" - "admin.synapse.li.chain.pem:${config.security.acme.certs."admin.synapse.li".directory}/chain.pem" ]; }; }; -- cgit v1.2.3