Skip to content

Commit 5e69cc3

Browse files
committed
minor #14728 [Cache] Add TLS scheme for Redis connection (misaert)
This PR was merged into the 4.4 branch. Discussion ---------- [Cache] Add TLS scheme for Redis connection See symfony/symfony#39599. Commits ------- 2d2f3b7 [Cache] Add TLS scheme for Redis connection
2 parents 052cbdf + 2d2f3b7 commit 5e69cc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/cache/adapters/redis_adapter.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,16 @@ helper method allows creating and configuring the Redis client class instance us
6262
);
6363

6464
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``.
6667

6768
.. note::
6869

6970
A `Data Source Name (DSN)`_ for this adapter must use the following format.
7071

7172
.. code-block:: text
7273
73-
redis://[pass@][ip|host|socket[:port]][/db-index]
74+
redis[s]://[pass@][ip|host|socket[:port]][/db-index]
7475
7576
Below are common examples of valid DSNs showing a combination of available values::
7677

0 commit comments

Comments
 (0)