From d16a7f97d8e42e381c3791242cd706f6251d0b64 Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Thu, 26 Jul 2018 19:29:10 +0800 Subject: [PATCH] update caddy file to support other extension --- caddy/Caddyfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 00750dea..062f2168 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -9,7 +9,9 @@ https://exchange-staging.izyim.com { # ext / .html rewrite { - to {path} {path}/ /index.php?{query} + r .* + ext / + to /index.php?{query} } gzip browse