Skip to content

Commit

Permalink
Adjusted README hosts example.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Sep 8, 2023
1 parent 1e9b738 commit 7c4b4b6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@ SSL connections that are self-signed (ex: Heroku):

.. code-block:: python
{
"hosts":[
"address": "rediss://user@host:port", // "REDIS_TLS_URL"
"ssl_cert_reqs": None
]
}

"default": {
"BACKEND": "channels_redis.pubsub.RedisPubSubChannelLayer",
"CONFIG": {
"hosts":[{
"address": "rediss://user@host:port", # "REDIS_TLS_URL"
"ssl_cert_reqs": None,
}]
}
}
Sentinel connections require dicts conforming to:

Expand Down

0 comments on commit 7c4b4b6

Please sign in to comment.