diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index adc253b..bd28d35 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -369,6 +369,37 @@ For example, to configure different options for the servers on ports `:80` and ` } ``` + + + + + ##### `name` A custom name to assign to this server. Usually helpful to identify a server by its name in logs and metrics. If not set, Caddy will define it dynamically using a `srvX` pattern, where `X` starts with 0 and increments based on the number of servers in the config. @@ -376,11 +407,7 @@ A custom name to assign to this server. Usually helpful to identify a server by - -For example: +To overcome this, you'll need to create an empty `:80` or `http://` site block and set this option. With that Auto-HTTPS will add its redirect routes to that server. For example: ```caddy { @@ -400,6 +427,9 @@ http:// { } ``` + + + ##### `listener_wrappers`