Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions admin_manual/configuration_server/caching_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Use APCu for local cache and either Redis cluster ...::
'cache-cluster:7000',
'cache-cluster:7001',
],
]
],

... or Memcached cluster ...::

Expand Down Expand Up @@ -182,7 +182,7 @@ The following options are available to configure when using a single redis serve
'dbindex' => 0,
'timeout' => 1.5,
'read_timeout' => 1.5,
]
],

The following options are available to configure when using a redis cluster (all but ``seeds`` are optional)::

Expand All @@ -198,13 +198,13 @@ The following options are available to configure when using a redis cluster (all
'cache-cluster:7004',
'cache-cluster:7005'
],
'failover_mode' => \RedisCluster::FAILOVER_ERROR
'failover_mode' => \RedisCluster::FAILOVER_ERROR,
'timeout' => 0.0,
'read_timeout' => 0.0,
'user' => 'nextcloud',
'password' => 'password',
'dbindex' => 0,
]
],

.. note:: The port is required as part of the server URL. However, it is not necesarry to list all servers: for example, if all servers are load balanced via the same DNS name, only that server name is required.

Expand All @@ -229,9 +229,9 @@ To connect via TCP over TLS, add the following configuration::
'local_cert' => '/certs/redis.crt',
'local_pk' => '/certs/redis.key',
'cafile' => '/certs/ca.crt',
'verify_peer_name' => false
]
]
'verify_peer_name' => false,
],
],

Connecting to Redis cluster over TLS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -246,9 +246,9 @@ To connect via TCP over TLS, add the following configuration::
'local_cert' => '/certs/redis.crt',
'local_pk' => '/certs/redis.key',
'cafile' => '/certs/ca.crt',
'verify_peer_name' => false
]
]
'verify_peer_name' => false,
],
],

Connecting to single Redis server over UNIX socket
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down