From af9bd2e5c33e533269d33aa7e02634d23cd0d509 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Sat, 21 Jan 2023 21:38:24 -0500 Subject: [PATCH] Add workaround note for `default_bind` --- src/docs/markdown/caddyfile/options.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 832f25e..e22f817 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -163,6 +163,13 @@ The port for the server to use for HTTPS. For internal use only; does not change ##### `default_bind` The default bind address(es) to be used for all sites, if the [`bind` directive](/docs/caddyfile/directives/bind) is not used in the site. Default: empty, which binds to all interfaces. + + + ##### `order` Assigns an order to HTTP handler directive(s). As HTTP handlers execute in a sequential chain, it is necessary for the handlers to be executed in the right order. Standard directives have [a pre-defined order](/docs/caddyfile/directives#directive-order), but if using third-party HTTP handler modules, you'll need to define the order explicitly by either using this option or placing the directive in a [`route` block](/docs/caddyfile/directives/route). Ordering can be described absolutely (`first` or `last`), or relatively (`before` or `after`) to another directive.