From 2ab1542bd2bda145f5e54ab17d960d8a6eb2e93a Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 16 Dec 2024 14:41:42 +0000 Subject: [PATCH] convert port to string --- hosts/hetzner-arm/profiles/photoprism.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/hetzner-arm/profiles/photoprism.nix b/hosts/hetzner-arm/profiles/photoprism.nix index 4a0ee6c..b8ae18e 100644 --- a/hosts/hetzner-arm/profiles/photoprism.nix +++ b/hosts/hetzner-arm/profiles/photoprism.nix @@ -54,7 +54,7 @@ in { enableACME = true; locations = { "/" = { - proxyPass = "http://127.0.0.1:${config.services.photoprism.port}"; + proxyPass = "http://127.0.0.1:${toString config.services.photoprism.port}"; proxyWebsockets = true; extraConfig = '' proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;