ntfy-sh: listen on http
This commit is contained in:
parent
f280c8f1c4
commit
4e19bb4ab0
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue