File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
components/cache/adapters Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,16 @@ helper method allows creating and configuring the Redis client class instance us
62
62
);
63
63
64
64
The DSN can specify either an IP/host (and an optional port) or a socket path, as well as a
65
- password and a database index.
65
+ password and a database index. To enable TLS for connections, the scheme ``redis `` must be
66
+ replaced by ``rediss ``.
66
67
67
68
.. note ::
68
69
69
70
A `Data Source Name (DSN) `_ for this adapter must use the following format.
70
71
71
72
.. code-block :: text
72
73
73
- redis://[pass@][ip|host|socket[:port]][/db-index]
74
+ redis[s] ://[pass@][ip|host|socket[:port]][/db-index]
74
75
75
76
Below are common examples of valid DSNs showing a combination of available values::
76
77
You can’t perform that action at this time.
0 commit comments