docs: General 2.6 updates

This commit is contained in:
Matthew Holt 2022-09-16 17:03:41 -06:00
parent a87295bf0b
commit c429966513
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
4 changed files with 13 additions and 5 deletions

View file

@ -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.