Skip to content

Commit

Permalink
Add query information to default Caddy config
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Jan 31, 2017
1 parent 3dc0e84 commit a4c5d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webserver-configs/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
2 changes: 1 addition & 1 deletion webserver-configs/Caddyfile-0.8.x
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}

0 comments on commit a4c5d57

Please sign in to comment.