From 64d0253aa0bca497dee72de53b4445e7743a63be Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Tue, 17 Jan 2023 18:42:06 +0100 Subject: [PATCH] I dont think the nginx config verifier has caught a single configuration error ever --- hosts/jokum/services/matrix/synapse.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/jokum/services/matrix/synapse.nix b/hosts/jokum/services/matrix/synapse.nix index 7f883d2..7709a6f 100644 --- a/hosts/jokum/services/matrix/synapse.nix +++ b/hosts/jokum/services/matrix/synapse.nix @@ -189,7 +189,7 @@ in { proxyPass = proxyPath v; extraConfig = '' allow ${values.ildkule.ipv4}; - allow [${values.ildkule.ipv6}]; + allow ${values.ildkule.ipv6}; deny all; ''; })) @@ -200,7 +200,7 @@ in { proxyPass = "http://127.0.0.1:9000/_synapse/metrics"; extraConfig = '' allow ${values.ildkule.ipv4}; - allow [${values.ildkule.ipv6}]; + allow ${values.ildkule.ipv6}; deny all; ''; };