Update
This commit is contained in:
parent
ae9ffdf2a8
commit
7e5c45d406
@ -3,13 +3,13 @@
|
|||||||
let
|
let
|
||||||
hostname = "ntfy.anotherhadi.com";
|
hostname = "ntfy.anotherhadi.com";
|
||||||
port = 8082;
|
port = 8082;
|
||||||
url = "https://" + hostname + ":${toString port}";
|
url = "https://" + hostname;
|
||||||
in {
|
in {
|
||||||
services.ntfy-sh = {
|
services.ntfy-sh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
base-url = url;
|
base-url = url;
|
||||||
listen-http = "${toString port}";
|
listen-http = "127.0.0.1:${toString port}";
|
||||||
# auth-file = "/etc/ntfy-sh/authfile"
|
# auth-file = "/etc/ntfy-sh/authfile"
|
||||||
auth-default-access = "deny-all";
|
auth-default-access = "deny-all";
|
||||||
behind-proxy = true;
|
behind-proxy = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user