Skip to content

Commit 78e2e24

Browse files
authored
docs: fix readme to prevent misreading (#116)
1 parent 9a0ec5a commit 78e2e24

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,17 @@ RedisClient.cluster(nodes: %w[redis://node1:6379 redis://node2:6379]).new_client
5151
```
5252

5353
```ruby
54-
# To connect with single endpoint
54+
# To connect to single endpoint
5555
RedisClient.cluster(nodes: 'redis://endpoint.example.com:6379').new_client
5656
```
5757

5858
```ruby
59-
# To connect to single endpoint with SSL/TLS
59+
# To connect to single endpoint with SSL/TLS (such as Amazon ElastiCache for Redis)
60+
RedisClient.cluster(nodes: 'rediss://endpoint.example.com:6379').new_client
61+
```
62+
63+
```ruby
64+
# To connect to NAT-ted endpoint with SSL/TLS (such as Microsoft Azure Cache for Redis)
6065
RedisClient.cluster(nodes: 'rediss://endpoint.example.com:6379', fixed_hostname: 'endpoint.example.com').new_client
6166
```
6267

0 commit comments

Comments
 (0)