Skip to content

Commit 7c4b4b6

Browse files
Adjusted README hosts example.
1 parent 1e9b738 commit 7c4b4b6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ SSL connections that are self-signed (ex: Heroku):
7373

7474
.. code-block:: python
7575
76-
{
77-
"hosts":[
78-
"address": "rediss://user@host:port", // "REDIS_TLS_URL"
79-
"ssl_cert_reqs": None
80-
]
81-
}
82-
76+
"default": {
77+
"BACKEND": "channels_redis.pubsub.RedisPubSubChannelLayer",
78+
"CONFIG": {
79+
"hosts":[{
80+
"address": "rediss://user@host:port", # "REDIS_TLS_URL"
81+
"ssl_cert_reqs": None,
82+
}]
83+
}
84+
}
8385
8486
Sentinel connections require dicts conforming to:
8587

0 commit comments

Comments
 (0)