From 325f8e9d1546b36c525543d8972e56892c4f6eda Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:51:36 +0200 Subject: [PATCH] Update --- hosts/modules/server/ntfy-sh.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/modules/server/ntfy-sh.nix b/hosts/modules/server/ntfy-sh.nix index f191147..fa67d77 100644 --- a/hosts/modules/server/ntfy-sh.nix +++ b/hosts/modules/server/ntfy-sh.nix @@ -2,8 +2,8 @@ # https://mynixos.com/nixpkgs/options/services.ntfy-sh let hostname = "ntfy.anotherhadi.com"; - url = "https://" + hostname; port = 8082; + url = "https://" + hostname + ":" + port; in { services.ntfy-sh = { enable = true; @@ -17,7 +17,6 @@ in { }; services.nginx.virtualHosts.${hostname} = { enableACME = true; - forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString port}"; }; }; networking.firewall.allowedTCPPorts = [ port ];