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
<
8000
td data-grid-cell-id="diff-505c53469edbd2be7700ec771e7f3d4671c49d442d694eb5d39c2599532df849-62-66-2" data-line-anchor="diff-505c53469edbd2be7700ec771e7f3d4671c49d442d694eb5d39c2599532df849R66" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">+ 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