summaryrefslogtreecommitdiff
path: root/plugins/http/config/ssl.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-13 15:42:42 +0300
committerValery Piashchynski <[email protected]>2021-03-13 15:42:42 +0300
commitb7a1b49fe6b0b8dc162fbbc2f167bf83d74cf217 (patch)
treee84e7ee9e02d5932e8e5e44f635d647de4833b0a /plugins/http/config/ssl.go
parent223bcc0885a7e660a27956093e6efbad83542c81 (diff)
Make a ROOT_CA path optional
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/http/config/ssl.go')
-rw-r--r--plugins/http/config/ssl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/config/ssl.go b/plugins/http/config/ssl.go
index eb2b72b5..d44703f9 100644
--- a/plugins/http/config/ssl.go
+++ b/plugins/http/config/ssl.go
@@ -40,7 +40,7 @@ func (s *SSL) Valid() error {
// use 0.0.0.0 as host and 443 as port
case 2:
if parts[0] == "" {
- s.host = "0.0.0.0"
+ s.host = "127.0.0.1"
} else {
s.host = parts[0]
}