From f42d2be72a8e21f8f684f002a870eefb852ec937 Mon Sep 17 00:00:00 2001 From: thorntonmc Date: Tue, 23 Jan 2024 14:43:07 +0300 Subject: [PATCH] [IMPROVED] docs: safe to use with proper config (#1529) --- nats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nats.go b/nats.go index a252da2a4..cb9e8b859 100644 --- a/nats.go +++ b/nats.go @@ -849,7 +849,7 @@ func InProcessServer(server InProcessConnProvider) Option { // Secure is an Option to enable TLS secure connections that skip server verification by default. // Pass a TLS Configuration for proper TLS. -// NOTE: This should NOT be used in a production setting. +// A TLS Configuration using InsecureSkipVerify should NOT be used in a production setting. func Secure(tls ...*tls.Config) Option { return func(o *Options) error { o.Secure = true