Skip to content

Commit

Permalink
docs: added note regarding passing empty tls object (#1739)
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Apr 2, 2023
1 parent 8fe1b98 commit 89ebcb6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -884,6 +884,15 @@ Alternatively, specify the connection through a [`rediss://` URL](https://www.ia
const redis = new Redis("rediss://redis.my-service.com");
```

If you do not want to use a connection string, you can also specify an empty `tls: {}` object:

```javascript
const redis = new Redis({
host: 'redis.my-service.com',
tls: {}
});
```

### TLS Profiles

> **Warning**
Expand Down

0 comments on commit 89ebcb6

Please sign in to comment.