@@ -113,6 +113,18 @@ define( 'RT_WP_NGINX_HELPER_REDIS_PORT', '6000' );
113113define( 'RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:' );
114114```
115115
116+ ** Q. Can I override the redis socket path, username, password?**
117+
118+ Yes, you can force override the redis socket path, username, password by defining constant in wp-config.php. For example:
119+
120+ ``` php
121+ define( 'RT_WP_NGINX_HELPER_REDIS_UNIX_SOCKET', '/var/run/redis/redis.sock' );
122+
123+ define( 'RT_WP_NGINX_HELPER_REDIS_USERNAME', 'admin' );
124+
125+ define( 'RT_WP_NGINX_HELPER_REDIS_PASSWORD', 'admin' );
126+ ```
127+
116128### FAQ - Nginx Map ###
117129
118130** Q. My multisite already uses ` WPMU_ACCEL_REDIRECT ` . Do I still need Nginx Map?**
@@ -123,6 +135,16 @@ Definitely. `WPMU_ACCEL_REDIRECT` reduces the load on PHP, but it still ask Word
123135
124136Most likely yes. A wordpress plugin, if not using explicitly any Apache-only mod, should work on Nginx. Some plugin may need some extra work.
125137
138+
139+ ### FAQ - WP-CLI ###
140+
141+ ** Q. How can I update the options using WP-CLI?**
142+
143+ ``` shell
144+ wp option patch update rt_wp_nginx_helper_options < option_name> < option_value>
145+ ```
146+
147+
126148### Still need help! ###
127149
128150Please post your problem in [ our free support forum] ( https://github.com/rtCamp/nginx-helper/issues ) .
@@ -281,7 +303,7 @@ Added custom purge URL option.
281303* Added composer.json support
282304* Fixed cache purging link in admin bar.
283305* Updated the initial settings to include the 'purge_method' [ #99 ] ( https://github.com/rtCamp/nginx-helper/pull/99 ) - by
284- [ gagan0123] ( https://github.com/gagan0123 )
306+ [ gagan0123] ( https://github.com/gagan0123 )
285307
286308### 1.9.2 ###
287309
0 commit comments