$_SERVER['HTTPS'] = 'on';
$config['superAdmins'] = '1';
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => false,
'lifetime' => 3600,
'cache_id_prefix' => 'xf_'
);
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'connect_retries' => 2,
'use_lua' => true,
'compress_data' => 2,
'read_timeout' => 1,
'timeout' => 1,
);
// install Redis-aware XF Caching replacement. Will break in XF 2.0
require(XenForo_Application::getInstance()->getConfigDir().'/SV/RedisCache/Installer.php');