From 69264a21e63b8467523bb096455b55cb7a473355 Mon Sep 17 00:00:00 2001 From: Pocat Date: Sat, 24 Sep 2022 16:04:03 +0800 Subject: [PATCH] Remove deprecated experimental_http3 (#309) Fix #308. --- 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/).