From beedf5f10f3ac998c1cc590184707bcd70effdc8 Mon Sep 17 00:00:00 2001 From: Jonas Berlin Date: Sat, 26 Oct 2024 14:56:11 +0300 Subject: [PATCH] Update config-example.toml to explain Alt-SVC header #192 forgot to update the example configuration file --- config-example.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-example.toml b/config-example.toml index b0a19458..a6a215e7 100644 --- a/config-example.toml +++ b/config-example.toml @@ -11,8 +11,8 @@ listen_port = 8080 listen_port_tls = 8443 # Optional. If you listen on a custom port like 8443 but redirect with firewall to 443 -# When you specify this, the server sends a redirection response 301 with specified port to the client for plaintext http request. -# Otherwise, the server sends 301 with the same port as `listen_port_tls`. +# When you specify this, the server uses this port in an "Alt-SVC" header for e.g. indicating support for HTTP/3 and also sends a redirection response 301 with specified port to the client for plaintext http request +# Otherwise, the server sends Alt-SVC and 301 with the same port as `listen_port_tls`. # https_redirection_port = 443 # Optional for h2 and http1.1