From b59374fc74812526b7ee52733791a063593b0f86 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Fri, 11 Oct 2024 16:59:50 +0300 Subject: [PATCH] Update src/docs/markdown/caddyfile/options.md Co-authored-by: Francis Lavoie --- src/docs/markdown/caddyfile/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 96e8a5c..d3c0d65 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -795,7 +795,7 @@ The `tls` listener wrapper is a no-op listener wrapper that marks where the TLS The [`http_redirect`](/docs/json/apps/http/servers/listener_wrappers/http_redirect/) provides HTTP->HTTPS redirects for connections that come on the TLS port as an HTTP request, by detecting using the first few bytes that it's not a TLS handshake, but instead an HTTP request. This is most useful when serving HTTPS on a non-standard port (other than `443`), since browsers will try HTTP unless the scheme is specified. It must be placed _before_ the `tls` listener wrapper. Here's an example: -``` +```caddy { servers { listener_wrappers {