Merge pull request #1139 from nextcloud/backport/1138/stable15

[stable15] Change Redis example to hostname
This commit is contained in:
Morris Jobke 2019-01-14 22:00:14 +01:00 committed by GitHub
commit 58dc7922a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
],