From bdec1225a7f059421aea2a23dde04502b4fad3a7 Mon Sep 17 00:00:00 2001 From: Adam Drew Date: Fri, 4 Aug 2023 13:47:22 -0400 Subject: [PATCH 1/2] Change path matching in Caddyfile: --- Caddyfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Caddyfile b/Caddyfile index f5e574a98..fcbf96790 100644 --- a/Caddyfile +++ b/Caddyfile @@ -10,7 +10,7 @@ {$CADDY_TLS_CERT} log @app_match { - path_regexp /apps/chrome(.*) + path /apps/chrome* } handle @app_match { uri strip_prefix /apps/chrome @@ -22,7 +22,7 @@ } @beta_match { - path_regexp /beta/apps/chrome(.*) + path /beta/apps/chrome* } handle @beta_match { uri strip_prefix /beta/apps/chrome @@ -34,7 +34,7 @@ } @preview_match { - path_regexp /preview/apps/chrome(.*) + path /preview/apps/chrome* } handle @preview_match { uri strip_prefix /preview/apps/chrome From b792893386a36772cceaaac742bd7c9094aa786a Mon Sep 17 00:00:00 2001 From: Adam Drew Date: Fri, 4 Aug 2023 13:50:46 -0400 Subject: [PATCH 2/2] Include config --- Caddyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index fcbf96790..811697bad 100644 --- a/Caddyfile +++ b/Caddyfile @@ -46,7 +46,7 @@ } @config_match { - path_regexp /config/(.*) + path /config* } handle @config_match { uri strip_prefix /config