1
0
Fork 0

ntfy-sh: listen on http

This commit is contained in:
Daniel Kempkens 2023-02-18 21:02:42 +01:00
parent f280c8f1c4
commit 4e19bb4ab0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -6,7 +6,7 @@
settings = { settings = {
base-url = secret.ntfy.baseUrl; base-url = secret.ntfy.baseUrl;
listen-unix = "/run/ntfy-sh/ntfy.socket"; listen-http = "127.0.0.1:8004";
behind-proxy = true; behind-proxy = true;
auth-file = "/var/lib/ntfy-sh/user.db"; auth-file = "/var/lib/ntfy-sh/user.db";
@ -35,7 +35,7 @@
locations."/" = { locations."/" = {
proxyWebsockets = true; proxyWebsockets = true;
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://unix:/run/ntfy-sh/ntfy.socket"; proxyPass = "http://127.0.0.1:8004";
}; };
}; };
}; };