nixos/services/ntfy-sh.nix
Evie Litherland-Smith a853475779 Initial convert from traefik to caddy
Move (hopefully) all reverse proxies to caddy
Left off adguard for now, tbd if it needs outside access

Moved service expressions up a level since it was a bit unneccesary before
2023-11-20 08:19:13 +00:00

18 lines
379 B
Nix

{ ... }:
{
imports = [ ./caddy.nix ];
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.xenia.me.uk";
listen-http = ":8800";
behind-proxy = true;
enable-signup = false;
enable-metrics = true;
};
};
services.caddy.virtualHosts."ntfy.xenia.me.uk".extraConfig =
"reverse_proxy http://localhost:8800";
}