mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-27 20:24:45 +02:00
Merge pull request #2340 from kodehat/develop
Add Redis UNIX socket support besides to TCP
This commit is contained in:
commit
dffc392c09
@ -96,6 +96,8 @@ return [
|
||||
'client' => 'predis',
|
||||
|
||||
'default' => [
|
||||
'scheme' => env('REDIS_SCHEME', 'tcp'),
|
||||
'path' => env('REDIS_PATH', '/run/redis/redis.sock'),
|
||||
'host' => env('REDIS_HOST', 'localhost'),
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
@ -103,6 +105,8 @@ return [
|
||||
],
|
||||
|
||||
'sessions' => [
|
||||
'scheme' => env('REDIS_SCHEME', 'tcp'),
|
||||
'path' => env('REDIS_PATH', '/run/redis/redis.sock'),
|
||||
'host' => env('REDIS_HOST', 'localhost'),
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
|
Loading…
x
Reference in New Issue
Block a user