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