mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 05:26:16 -04:00
docs: General 2.6 updates
This commit is contained in:
parent
a87295bf0b
commit
c429966513
4 changed files with 13 additions and 5 deletions
|
@ -115,6 +115,7 @@ vars
|
|||
root
|
||||
|
||||
header
|
||||
copy_response_headers # only in reverse_proxy's handle_response block
|
||||
request_body
|
||||
|
||||
redir
|
||||
|
@ -141,6 +142,7 @@ route
|
|||
# handlers that typically respond to requests
|
||||
abort
|
||||
error
|
||||
copy_response # only in reverse_proxy's handle_response block
|
||||
respond
|
||||
metrics
|
||||
reverse_proxy
|
||||
|
|
|
@ -533,12 +533,12 @@ path_regexp static \.([a-f0-9]{6})\.(css|js)$
|
|||
### protocol
|
||||
|
||||
```caddy-d
|
||||
protocol http|https|grpc
|
||||
protocol http|https|grpc|http/<version>[+]
|
||||
|
||||
expression protocol('http|https|grpc')
|
||||
```
|
||||
|
||||
By request protocol.
|
||||
By request protocol. A broad protocol name such as `http`, `https`, or `grpc` can be used; or specific or minimum HTTP versions such as `http/1.1` or `http/2+`.
|
||||
|
||||
There can only be one `protocol` matcher per named matcher.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue