mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
Update src/docs/markdown/caddyfile/directives/rewrite.md
Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
parent
7696fcd01a
commit
a94fa2fee0
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ rewrite [<matcher>] <to>
|
|||
|
||||
- **<to>** is the URI to rewrite the request to. Only the components of the URI (path or query string) that are specified in the rewrite will be operated on. The URI path is any substring that comes before `?`. If `?` is omitted, then the whole token is considered to be the path.
|
||||
|
||||
Prior to v2.8.0, that the `<to>` argument could be confused by the parser for a [matcher token](/docs/caddyfile/matchers#syntax) if it began with `/`, so it was necessary to specify a wildcard matcher token (`*`).
|
||||
Prior to v2.8.0, the `<to>` argument could be confused by the parser for a [matcher token](/docs/caddyfile/matchers#syntax) if it began with `/`, so it was necessary to specify a wildcard matcher token (`*`).
|
||||
|
||||
|
||||
## Similar directives
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue