Skip to content

Commit

Permalink
[IMPROVED] docs: safe to use with proper config (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorntonmc authored Jan 23, 2024
1 parent db951ce commit f42d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f42d2be

Please sign in to comment.