From a63e4987c34fd14f85c2a7cdc4a39059a52b934e Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Sun, 12 Jan 2025 10:16:13 +0200 Subject: [PATCH] initial ntfy stuff - UNTESTED --- services/caddy/Caddyfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/services/caddy/Caddyfile b/services/caddy/Caddyfile index ef4c927..cfbf431 100644 --- a/services/caddy/Caddyfile +++ b/services/caddy/Caddyfile @@ -54,5 +54,17 @@ https://grf.collective-conciousness.monster { encode zstd gzip reverse_proxy 10.24.1.4:6700 +} +ntfy.collective-conciousness.monster { + encode zstd gzip + + reverse_proxy 10.24.1.4:32984 + + @httpget { + protocol http + method GET + path_regexp ^/([-_a-z0-9]{0,64}$|docs/|static/) + } + redir @httpget https://{host}{uri} } \ No newline at end of file