From 7835468c2bf4e85df0b0760656550b70dfcdf7e7 Mon Sep 17 00:00:00 2001 From: Pocat Date: Wed, 21 Sep 2022 09:41:19 +0800 Subject: [PATCH] experimental_http3 has been deprecated See Details : https://github.com/caddyserver/caddy/releases/tag/v2.6.0 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74fb55eea8..51ca0de2c2 100644 --- a/README.md +++ b/README.md @@ -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/).