Remove deprecated experimental_http3 (#309)

Fix #308.
This commit is contained in:
Pocat 2022-09-24 16:04:03 +08:00 committed by GitHub
parent 545c856311
commit 69264a21e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,9 +43,7 @@ Example Caddyfile (replace `user` and `pass` accordingly):
```
{
servers {
protocol {
experimental_http3
}
protocols h1 h2 h3
}
}
:443, example.com
@ -57,7 +55,9 @@ route {
hide_via
probe_resistance
}
file_server { root /var/www/html }
file_server {
root /var/www/html
}
}
```
`:443` must appear first for this Caddyfile to work. For more advanced usage consider using [JSON for Caddy 2's config](https://caddyserver.com/docs/json/).