mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-20 19:29:49 +00:00
Merge pull request #987 from mritd/master
feat(acme): support acme listen host
This commit is contained in:
commit
804e3f6df9
@ -83,6 +83,7 @@ type serverConfigACME struct {
|
||||
CA string `mapstructure:"ca"`
|
||||
DisableHTTP bool `mapstructure:"disableHTTP"`
|
||||
DisableTLSALPN bool `mapstructure:"disableTLSALPN"`
|
||||
ListenHost string `mapstructure:"listenHost"`
|
||||
AltHTTPPort int `mapstructure:"altHTTPPort"`
|
||||
AltTLSALPNPort int `mapstructure:"altTLSALPNPort"`
|
||||
Dir string `mapstructure:"dir"`
|
||||
@ -280,6 +281,7 @@ func (c *serverConfig) fillTLSConfig(hyConfig *server.Config) error {
|
||||
Agreed: true,
|
||||
DisableHTTPChallenge: c.ACME.DisableHTTP,
|
||||
DisableTLSALPNChallenge: c.ACME.DisableTLSALPN,
|
||||
ListenHost: c.ACME.ListenHost,
|
||||
AltHTTPPort: c.ACME.AltHTTPPort,
|
||||
AltTLSALPNPort: c.ACME.AltTLSALPNPort,
|
||||
Logger: logger,
|
||||
|
Loading…
x
Reference in New Issue
Block a user