Skip to content

Commit

Permalink
tls unwrangle
Browse files Browse the repository at this point in the history
  • Loading branch information
jakesylvestre committed Dec 4, 2019
1 parent e4c7407 commit c25e1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ func loadConfig() (*config, []string, error) {

// Only allow TLS to be disabled if the RPC is bound to localhost
// addresses.
if false && !cfg.DisableRPC && cfg.DisableTLS {
if !cfg.DisableRPC && cfg.DisableTLS {
allowedTLSListeners := map[string]struct{}{
"localhost": {},
"127.0.0.1": {},
Expand Down

0 comments on commit c25e1e8

Please sign in to comment.