From 198b69dd1dca0727bdf71b4b864516f9bcf0a8a0 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 10 Jan 2024 11:19:20 +0300 Subject: [PATCH] Fix int errors in flake, add toString --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0173f42..5ba911e 100644 --- a/flake.nix +++ b/flake.nix @@ -153,7 +153,7 @@ enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://localhost:${cfg.port}"; + locations."/".proxyPass = "http://localhost:${toString cfg.port}"; }; virtualHosts."www.${urlStripped}" = { @@ -170,7 +170,7 @@ useACMEHost = urlStripped; locations."/".extraCofig = '' - proxy_pass http://localhost:${cfg.port}/404; + proxy_pass http://localhost:${toString cfg.port}/404; ''; }; };