This commit is contained in:
2023-09-12 16:20:43 +02:00
parent d01dc99032
commit 5b4bc9ca01
3 changed files with 144 additions and 128 deletions

View File

@@ -21,6 +21,19 @@ data:
'trusted_proxies' => array('10.244.0.0/16','2001:cafe:42::1'),
'allow_local_remote_servers' => true,
);
redis.config.php: |-
<?php
if (getenv('REDIS_HOST')) {
$CONFIG = array (
'filelocking.enabled' => true,
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'port' => getenv('REDIS_HOST_PORT') ?: 6379,
),
);
}
.htaccess: |-
# line below if for Apache 2.4
<ifModule mod_authz_core.c>