Add global InsecureSkipVerify option to disable certificate checking

Signed-off-by: Stuart Clark <stuart.clark@Jahingo.com>
This commit is contained in:
Stuart Clark 2016-07-23 15:54:37 +01:00
parent 7abe68fac1
commit 4882519c0f
2 changed files with 5 additions and 0 deletions

View file

@ -33,6 +33,7 @@ type GlobalConfiguration struct {
DefaultEntryPoints DefaultEntryPoints `description:"Entrypoints to be used by frontends that do not specify any entrypoint"`
ProvidersThrottleDuration time.Duration `description:"Backends throttle duration: minimum duration between 2 events from providers before applying a new configuration. It avoids unnecessary reloads if multiples events are sent in a short amount of time."`
MaxIdleConnsPerHost int `description:"If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used"`
InsecureSkipVerify bool `description:"Disable SSL certificate verification"`
Retry *Retry `description:"Enable retry sending request if network error"`
Docker *provider.Docker `description:"Enable Docker backend"`
File *provider.File `description:"Enable File backend"`