From 292f412c3d47348098b5f519fda5ab34c5964f0b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 31 Jan 2023 13:06:30 +0100 Subject: synapse.li:80 for redirect to https --- hosts/surtr/matrix/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hosts/surtr') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 5b89e321..fec0a07d 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -152,6 +152,8 @@ with lib; sslCertificateKey = "/run/credentials/nginx.service/synapse.li.key.pem"; sslTrustedCertificate = "/run/credentials/nginx.service/synapse.li.chain.pem"; listen = [ + { addr = "0.0.0.0"; port = 80; ssl = false } + { addr = "[::0]"; port = 80; ssl = false } { addr = "0.0.0.0"; port = 443; ssl = true; } { addr = "[::0]"; port = 443; ssl = true; } { addr = "0.0.0.0"; port = 8448; ssl = true; } -- cgit v1.2.3