aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddyconfig/httpcaddyfile/options.go
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2022-01-18 13:29:07 -0500
committerGitHub <[email protected]>2022-01-18 11:29:07 -0700
commit1b7ff5d76c7a3c67b6e0f9b51af78d1b227fdea3 (patch)
tree6e03e066729f05595d37473c711160e0319df886 /caddyconfig/httpcaddyfile/options.go
parent93a7a45e7e1ca64dc0103af55ab2a0a4b9c6c84f (diff)
downloadcaddy-1b7ff5d76c7a3c67b6e0f9b51af78d1b227fdea3.tar.gz
caddy-1b7ff5d76c7a3c67b6e0f9b51af78d1b227fdea3.zip
httpcaddyfile: Add `default_bind` global option (#4531)
Diffstat (limited to 'caddyconfig/httpcaddyfile/options.go')
-rw-r--r--caddyconfig/httpcaddyfile/options.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/options.go b/caddyconfig/httpcaddyfile/options.go
index 91709cc06..016d0dfb6 100644
--- a/caddyconfig/httpcaddyfile/options.go
+++ b/caddyconfig/httpcaddyfile/options.go
@@ -29,6 +29,7 @@ func init() {
RegisterGlobalOption("debug", parseOptTrue)
RegisterGlobalOption("http_port", parseOptHTTPPort)
RegisterGlobalOption("https_port", parseOptHTTPSPort)
+ RegisterGlobalOption("default_bind", parseOptSingleString)
RegisterGlobalOption("grace_period", parseOptDuration)
RegisterGlobalOption("default_sni", parseOptSingleString)
RegisterGlobalOption("order", parseOptOrder)