From 7e5c45d4066a96b7084a0231bce887d8e35c1ff6 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:53:17 +0200 Subject: [PATCH] Update --- hosts/modules/server/ntfy-sh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/modules/server/ntfy-sh.nix b/hosts/modules/server/ntfy-sh.nix index 6c75ee5..0a23fa5 100644 --- a/hosts/modules/server/ntfy-sh.nix +++ b/hosts/modules/server/ntfy-sh.nix @@ -3,13 +3,13 @@ let hostname = "ntfy.anotherhadi.com"; port = 8082; - url = "https://" + hostname + ":${toString port}"; + url = "https://" + hostname; in { services.ntfy-sh = { enable = true; settings = { base-url = url; - listen-http = "${toString port}"; + listen-http = "127.0.0.1:${toString port}"; # auth-file = "/etc/ntfy-sh/authfile" auth-default-access = "deny-all"; behind-proxy = true;