Update
This commit is contained in:
parent
29905a460b
commit
325f8e9d15
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user