Created
June 5, 2020 13:54
-
-
Save eksiscloud/3101b8dd335e39486dfd03cc062ea1d4 to your computer and use it in GitHub Desktop.
Redis and wp-config.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//define('WP_CACHE', true); | |
$_SERVER['HTTPS'] = 'on'; | |
//define('DISABLE_WP_CRON', true); | |
define('WP_REDIS_DATABASE', 1); | |
$redis_server = array( 'host' => '127.0.0.1', 'port' => 6379, ); | |
define('WP_REDIS_MAXTTL', 900); | |
define('WP_CACHE_KEY_SALT', 'eksis.dev'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment