mirror of
https://github.com/caddyserver/caddy.git
synced 2025-08-26 03:11:58 +08:00
caddytls: Support custom bind host for challenges (#3232)
This commit is contained in:
@ -239,6 +239,10 @@ type ChallengesConfig struct {
|
||||
// to Caddy from an external server.
|
||||
DNSRaw json.RawMessage `json:"dns,omitempty" caddy:"namespace=tls.dns inline_key=provider"`
|
||||
|
||||
// Optionally customize the host to which a listener
|
||||
// is bound if required for solving a challenge.
|
||||
BindHost string `json:"bind_host,omitempty"`
|
||||
|
||||
DNS challenge.Provider `json:"-"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user