From fda8a96f727d6bda73bb00151c9bd9f1edb7acf9 Mon Sep 17 00:00:00 2001 From: Joe Grigg Date: Tue, 3 Jun 2025 11:07:51 +0100 Subject: [PATCH] Updated caddy path handling for activitypub --- Caddyfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 7722805..ed4685d 100644 --- a/Caddyfile +++ b/Caddyfile @@ -10,14 +10,13 @@ # Proxy analytics requests with any prefix (e.g. /.ghost/analytics/ or /blog/.ghost/analytics/) @analytics_paths path_regexp analytics_match ^(.*)/\.ghost/analytics(.*)$ handle @analytics_paths { - rewrite * {re.analytics_match.2} + rewrite * {re.analytic_match.2} reverse_proxy traffic-analytics:3000 } # Proxy activitypub requests with any prefix (e.g. /.ghost/activitypub/ or /blog/.ghost/activitypub/) @activitypub_paths path_regexp activitypub_match ^(.*)/\.ghost/activitypub(.*)$ handle @activitypub_paths { - rewrite * {re.activitypub_match.2} reverse_proxy activitypub:8080 }