From c42b13b99071ed0206d91ebe47f3f206a0cdcb1a Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 21 May 2023 12:23:57 +0100 Subject: [PATCH] fix: ports are numbers not strings --- applications/ldap.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/ldap.nix b/applications/ldap.nix index 547c460..b58168d 100644 --- a/applications/ldap.nix +++ b/applications/ldap.nix @@ -188,7 +188,7 @@ Gonna use a priper nixos module for this services.nginx.virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = { forceSSL = true; useACMEHost = "skynet"; - locations."/".proxyPass = "http://localhost:${cfg.frontend.port}"; + locations."/".proxyPass = "http://localhost:${toString cfg.frontend.port}"; }; virtualisation.arion = { @@ -206,7 +206,7 @@ Gonna use a priper nixos module for this ]; ports = [ - "${cfg.frontend.port}:80/tcp" + "${toString cfg.frontend.port}:80/tcp" ]; }; };