mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Merge pull request #1138 from nextcloud/improve-redis-example
Change Redis example to hostname
This commit is contained in:
@@ -87,7 +87,7 @@ Redis for the distributed server cache::
|
||||
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => [
|
||||
'host' => 'localhost',
|
||||
'host' => 'redis-host.example.com',
|
||||
'port' => 6379,
|
||||
],
|
||||
|
||||
@@ -151,7 +151,7 @@ servers in the shared cache pool with their port numbers::
|
||||
'memcache.local' => '\OC\Memcache\APCu',
|
||||
'memcache.distributed' => '\OC\Memcache\Memcached',
|
||||
'memcached_servers' => [
|
||||
[ 'localhost', 11211 ],
|
||||
[ 'server0.example.com', 11211 ],
|
||||
[ 'server1.example.com', 11211 ],
|
||||
[ 'server2.example.com', 11211 ],
|
||||
],
|
||||
@@ -182,7 +182,7 @@ Use Redis for everything except local memcache::
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'redis' => [
|
||||
'host' => 'localhost',
|
||||
'host' => 'redis-host.example.com',
|
||||
'port' => 6379,
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user