From e93a56e59422a5fcd946910ec586d348dfd89e35 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 5 Jun 2024 01:59:54 +0200 Subject: [PATCH] nginx: use square brackets for IPv6 address --- modules/nginx-prometheus-exporters/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nginx-prometheus-exporters/default.nix b/modules/nginx-prometheus-exporters/default.nix index 45def5fc..321bd7bb 100644 --- a/modules/nginx-prometheus-exporters/default.nix +++ b/modules/nginx-prometheus-exporters/default.nix @@ -18,7 +18,7 @@ in "nachtigall.wg.${config.pub-solar-os.networking.domain}" = { listenAddresses = [ "10.7.6.1" - "fd00:fae:fae:fae:fae:1::" + "[fd00:fae:fae:fae:fae:1::]" ]; locations."/metrics" = { proxyPass = "http://127.0.0.1:${toString (config.services.prometheus.exporters.node.port)}";