mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 22:16:15 -04:00
docs: Add a few code lang labels, minor cleanup
This commit is contained in:
parent
f655da2c2e
commit
1367aebe20
3 changed files with 7 additions and 6 deletions
|
@ -110,7 +110,7 @@ Defining a matcher with a unique name gives you more flexibility, allowing you t
|
|||
|
||||
or, if there is only one matcher in the set:
|
||||
|
||||
```
|
||||
```caddy-d
|
||||
@name ...
|
||||
```
|
||||
|
||||
|
@ -130,7 +130,7 @@ This proxies only the requests that have a header field named "Connection" conta
|
|||
|
||||
If the matcher set consists of only one matcher, a one-liner syntax also works:
|
||||
|
||||
```
|
||||
```caddy-d
|
||||
@post method POST
|
||||
reverse_proxy @post localhost:6001
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue