From 92e8eb8983aa861c84f63a7a129537805c29f18c Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:48:36 +0200 Subject: [PATCH] Update --- hosts/modules/server/ntfy-sh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/modules/server/ntfy-sh.nix b/hosts/modules/server/ntfy-sh.nix index 822f639..728bb5e 100644 --- a/hosts/modules/server/ntfy-sh.nix +++ b/hosts/modules/server/ntfy-sh.nix @@ -18,7 +18,7 @@ in { services.nginx.virtualHosts.${hostname} = { enableACME = true; forceSSL = true; - locations."/" = { proxyPass = "http://127.0.0.1:${port}"; }; + locations."/" = { proxyPass = "http://127.0.0.1:${toString port}"; }; }; networking.firewall.allowedTCPPorts = [ port ]; }