File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,13 @@ To purge a page immediately, follow these instructions:
100100
101101Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
102102
103- ` define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1'); `
103+ ```
104+ define( 'RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1' );
104105
105- ` define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000'); `
106+ define( 'RT_WP_NGINX_HELPER_REDIS_PORT', '6000' );
106107
107- ` define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:'); `
108+ define( 'RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:' );
109+ ```
108110
109111
110112### FAQ - Nginx Map ###
Original file line number Diff line number Diff line change @@ -98,11 +98,13 @@ To purge a page immediately, follow these instructions:
9898
9999Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
100100
101- `define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1');`
101+ ```
102+ define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1');
102103
103- ` define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000');`
104+ define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000');
104105
105- `define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:');`
106+ define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:');
107+ ```
106108
107109= FAQ - Nginx Map =
108110
You can’t perform that action at this time.
0 commit comments