File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,17 @@ RedisClient.cluster(nodes: %w[redis://node1:6379 redis://node2:6379]).new_client
51
51
```
52
52
53
53
``` ruby
54
- # To connect with single endpoint
54
+ # To connect to single endpoint
55
55
RedisClient .cluster(nodes: ' redis://endpoint.example.com:6379' ).new_client
56
56
```
57
57
58
58
``` 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)
60
65
RedisClient .cluster(nodes: ' rediss://endpoint.example.com:6379' , fixed_hostname: ' endpoint.example.com' ).new_client
61
66
```
62
67
You can’t perform that action at this time.
0 commit comments