Skip to content

Commit

Permalink
Update config-example.toml to explain Alt-SVC header
Browse files Browse the repository at this point in the history
junkurihara#192 forgot to update the example configuration file
  • Loading branch information
xkr47 authored Oct 26, 2024
1 parent a50b8a4 commit beedf5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beedf5f

Please sign in to comment.