This commit is contained in:
2025-08-06 11:03:36 +02:00
parent 74a2a10393
commit cd6046c8be
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{config, ...}: {
services.ntfy-sh = {
enable = true;
settings.base-url = "https://ping.az-gruppe.com";
settings = {
listen-http = ":3033";
auth-file = "/var/lib/ntfy-sh/user.db";
auth-default-access = "deny-all";
};
};
# Traefik configuration specific to littlelink
services.traefik.dynamicConfigOptions.http = {
services.ntfy-sh.loadBalancer.servers = [
{
url = "http://localhost:3033/";
}
];
routers.ntfy-sh = {
rule = "Host(`ping.az-gruppe.com`)";
tls = {
certResolver = "ionos";
};
service = "ntfy-sh";
entrypoints = "websecure";
};
};
}