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 ]; }