Skip to content

Commit 819361a

Browse files
committed
minor #18375 [Lock] Add Redis Secure DSN example (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Lock] Add Redis Secure DSN example After hours of research today, I finally managed to make the Lock component work with a Redus Secure DSN. I think adding this simple little DSN example to the list could save future developers hours of vendor research. 😄 Commits ------- 4ac5d89 [Lock] Add Redis Secure DSN example
2 parents 9c30746 + 4ac5d89 commit 819361a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lock.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ this behavior by using the ``lock`` key like:
5050
lock: ['memcached://m1.docker', 'memcached://m2.docker']
5151
lock: 'redis://r1.docker'
5252
lock: ['redis://r1.docker', 'redis://r2.docker']
53+
lock: 'rediss://r1.docker?ssl[verify_peer]=1&ssl[cafile]=...'
5354
lock: 'zookeeper://z1.docker'
5455
lock: 'zookeeper://z1.docker,z2.docker'
5556
lock: 'sqlite:///%kernel.project_dir%/var/lock.db'

0 commit comments

Comments
 (0)