aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddyconfig/httpcaddyfile/options.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2023-05-10 14:29:29 -0600
committerGitHub <[email protected]>2023-05-10 14:29:29 -0600
commitfaf0399e80391ba5229321e2ee7d05262e4cc531 (patch)
tree49cea70c7566bfa77314f88df3eed6e21d1f0b15 /caddyconfig/httpcaddyfile/options.go
parent808b05c3b47dc82d7e13fccee00a67c45a072a23 (diff)
downloadcaddy-faf0399e80391ba5229321e2ee7d05262e4cc531.tar.gz
caddy-faf0399e80391ba5229321e2ee7d05262e4cc531.zip
caddytls: Configurable fallback SNI (#5527)
* Initial implementation of fallback_sni * Apply upstream patch
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 4e5212bf1..f9d0b96b4 100644
--- a/caddyconfig/httpcaddyfile/options.go
+++ b/caddyconfig/httpcaddyfile/options.go
@@ -33,6 +33,7 @@ func init() {
RegisterGlobalOption("grace_period", parseOptDuration)
RegisterGlobalOption("shutdown_delay", parseOptDuration)
RegisterGlobalOption("default_sni", parseOptSingleString)
+ RegisterGlobalOption("fallback_sni", parseOptSingleString)
RegisterGlobalOption("order", parseOptOrder)
RegisterGlobalOption("storage", parseOptStorage)
RegisterGlobalOption("storage_clean_interval", parseOptDuration)