1
0
Fork 0

ntfy-sh: specify upstream

This commit is contained in:
Daniel Kempkens 2023-02-18 21:29:47 +01:00
parent 4e19bb4ab0
commit 3db8d61739
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 1 additions and 21 deletions

Binary file not shown.

View file

@ -15,28 +15,8 @@
cache-file = "/var/lib/ntfy-sh/cache.db"; cache-file = "/var/lib/ntfy-sh/cache.db";
attachment-cache-dir = "/var/lib/ntfy-sh/cache-attachments"; attachment-cache-dir = "/var/lib/ntfy-sh/cache-attachments";
upstream-base-url = "https://ntfy.sh";
keepalive-interval = "45s"; keepalive-interval = "45s";
}; };
}; };
services.nginx = {
enable = true;
virtualHosts."${secret.ntfy.web-domain}" = {
listen = [
{
addr = "127.0.0.1";
port = 80;
}
];
forceSSL = false;
enableACME = false;
locations."/" = {
proxyWebsockets = true;
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8004";
};
};
};
} }