diff options
author | Valery Piashchynski <[email protected]> | 2021-03-13 15:42:42 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-03-13 15:42:42 +0300 |
commit | b7a1b49fe6b0b8dc162fbbc2f167bf83d74cf217 (patch) | |
tree | e84e7ee9e02d5932e8e5e44f635d647de4833b0a /plugins/http/config/http.go | |
parent | 223bcc0885a7e660a27956093e6efbad83542c81 (diff) |
Make a ROOT_CA path optional
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/http/config/http.go')
-rw-r--r-- | plugins/http/config/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/config/http.go b/plugins/http/config/http.go index 022476e2..d48ed022 100644 --- a/plugins/http/config/http.go +++ b/plugins/http/config/http.go @@ -53,7 +53,7 @@ func (c *HTTP) EnableHTTP() bool { // EnableTLS returns true if pool must listen TLS connections. func (c *HTTP) EnableTLS() bool { - return c.SSLConfig.Key != "" || c.SSLConfig.Cert != "" || c.SSLConfig.RootCA != "" + return c.SSLConfig.Key != "" || c.SSLConfig.Cert != "" } // EnableH2C when HTTP/2 extension must be enabled on TCP. |