File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,25 @@ The default server configuration should suffice for development. However, you ar
60
60
61
61
],
62
62
63
+ #### Configuring Schemes
64
+
65
+ It is possible to specify the connection scheme for each Redis server. By default clients are using the ` tcp ` scheme,
66
+ but if you want to leverage TLS/SSL encryption when connecting to secured Redis instances, you should use the ` tls ` scheme:
67
+
68
+ 'redis' => [
69
+
70
+ 'client' => env('REDIS_CLIENT', 'phpredis'),
71
+
72
+ 'default' => [
73
+ 'scheme' => 'tls',
74
+ 'host' => env('REDIS_HOST', '127.0.0.1'),
75
+ 'password' => env('REDIS_PASSWORD', null),
76
+ 'port' => env('REDIS_PORT', 6379),
77
+ 'database' => env('REDIS_DB', 0),
78
+ ],
79
+
80
+ ],
81
+
63
82
#### Configuring Clusters
64
83
65
84
If your application is utilizing a cluster of Redis servers, you should define these clusters within a ` clusters ` key of your Redis configuration:
You can’t perform that action at this time.
0 commit comments