From a4c5d570aedcb4830ce2584d18b255a20751b5ca Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Tue, 31 Jan 2017 09:17:22 +0100 Subject: [PATCH] Add query information to default Caddy config --- webserver-configs/Caddyfile | 2 +- webserver-configs/Caddyfile-0.8.x | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webserver-configs/Caddyfile b/webserver-configs/Caddyfile index 9d3b437608..bc3862774f 100644 --- a/webserver-configs/Caddyfile +++ b/webserver-configs/Caddyfile @@ -29,5 +29,5 @@ status 403 /403 # global rewrite should come last. rewrite { - to {path} {path}/ /index.php?_url={uri} + to {path} {path}/ /index.php?_url={uri}&{query} } diff --git a/webserver-configs/Caddyfile-0.8.x b/webserver-configs/Caddyfile-0.8.x index 520eafb422..f3ba77a25f 100644 --- a/webserver-configs/Caddyfile-0.8.x +++ b/webserver-configs/Caddyfile-0.8.x @@ -29,5 +29,5 @@ rewrite { # global rewrite should come last. rewrite { - to {path} {path}/ /index.php?_url={uri} + to {path} {path}/ /index.php?_url={uri}&{query} }