mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: Fix bad matcher in snippet example
This commit is contained in:
parent
4f6d355a97
commit
c7b4ed30c7
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ You can define special blocks called snippets by giving them a name surrounded i
|
||||||
```caddy
|
```caddy
|
||||||
(redirect) {
|
(redirect) {
|
||||||
@http {
|
@http {
|
||||||
scheme http
|
protocol http
|
||||||
}
|
}
|
||||||
redir @http https://{host}{uri}
|
redir @http https://{host}{uri}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue