diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-31 13:06:30 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-31 13:06:30 +0100 |
commit | 292f412c3d47348098b5f519fda5ab34c5964f0b (patch) | |
tree | 705d4f8730d3b33eae7c4e821a449e56e01d584b /hosts | |
parent | 1e82933a01dcc3810d635567dbef0de286c1e8f2 (diff) | |
download | nixos-292f412c3d47348098b5f519fda5ab34c5964f0b.tar nixos-292f412c3d47348098b5f519fda5ab34c5964f0b.tar.gz nixos-292f412c3d47348098b5f519fda5ab34c5964f0b.tar.bz2 nixos-292f412c3d47348098b5f519fda5ab34c5964f0b.tar.xz nixos-292f412c3d47348098b5f519fda5ab34c5964f0b.zip |
synapse.li:80 for redirect to https
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/surtr/matrix/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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; | |||
152 | sslCertificateKey = "/run/credentials/nginx.service/synapse.li.key.pem"; | 152 | sslCertificateKey = "/run/credentials/nginx.service/synapse.li.key.pem"; |
153 | sslTrustedCertificate = "/run/credentials/nginx.service/synapse.li.chain.pem"; | 153 | sslTrustedCertificate = "/run/credentials/nginx.service/synapse.li.chain.pem"; |
154 | listen = [ | 154 | listen = [ |
155 | { addr = "0.0.0.0"; port = 80; ssl = false } | ||
156 | { addr = "[::0]"; port = 80; ssl = false } | ||
155 | { addr = "0.0.0.0"; port = 443; ssl = true; } | 157 | { addr = "0.0.0.0"; port = 443; ssl = true; } |
156 | { addr = "[::0]"; port = 443; ssl = true; } | 158 | { addr = "[::0]"; port = 443; ssl = true; } |
157 | { addr = "0.0.0.0"; port = 8448; ssl = true; } | 159 | { addr = "0.0.0.0"; port = 8448; ssl = true; } |