Skip to content

Commit 1e9b738

Browse files
bbrowning918benbrowning
andauthored
use the stable docs for redis, and I hope this is a good example (#370)
Co-authored-by: benbrowning <[email protected]>
1 parent ba6dfcd commit 1e9b738

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,22 @@ Possible options for ``CONFIG`` are listed below.
6565
``hosts``
6666
~~~~~~~~~
6767

68-
The server(s) to connect to, as either URIs, ``(host, port)`` tuples, or dicts conforming to `redis Connection <https://redis-py.readthedocs.io/en/v4.3.3/connections.html#redis.connection.Connection>`_.
68+
The server(s) to connect to, as either URIs, ``(host, port)`` tuples, or dicts conforming to `redis Connection <https://redis-py.readthedocs.io/en/stable/connections.html#async-client>`_.
6969
Defaults to ``redis://localhost:6379``. Pass multiple hosts to enable sharding,
7070
but note that changing the host list will lose some sharded data.
7171

72+
SSL connections that are self-signed (ex: Heroku):
73+
74+
.. code-block:: python
75+
76+
{
77+
"hosts":[
78+
"address": "rediss://user@host:port", // "REDIS_TLS_URL"
79+
"ssl_cert_reqs": None
80+
]
81+
}
82+
83+
7284
Sentinel connections require dicts conforming to:
7385

7486
.. code-block::

0 commit comments

Comments
 (0)