Add query information to default Caddy config

This commit is contained in:
Flavio Copes
2017-01-31 09:17:22 +01:00
parent 3dc0e84351
commit a4c5d570ae
2 changed files with 2 additions and 2 deletions

View File

@@ -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}
}

View File

@@ -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}
}