mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-04 22:32:09 -04:00
Explicitly check if tls_disable == 1
This commit is contained in:
parent
9633c9b94b
commit
5c93047642
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ func (c *ServerCommand) detectAdvertise(detect physical.AdvertiseDetect,
|
|||
}
|
||||
|
||||
// Check if TLS is disabled
|
||||
if _, ok := list.Config["tls_disable"]; ok {
|
||||
if val, ok := list.Config["tls_disable"]; ok && val == "1" {
|
||||
scheme = "http"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue