mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
redir: Mention that {uri} is a placeholder in examples
This commit is contained in:
parent
39bf640d22
commit
c6a6daf3f9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ Redirect all requests to `https://example.com`:
|
||||||
redir https://example.com
|
redir https://example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Same, but preserve the existing URI:
|
Same, but preserve the existing URI by appending the [`{uri}` placeholder](/docs/caddyfile/concepts#placeholders):
|
||||||
|
|
||||||
```caddy-d
|
```caddy-d
|
||||||
redir https://example.com{uri}
|
redir https://example.com{uri}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue