Banner for Nginx Champuru
Provides some functions of controlling Nginx proxy server cache. Wordpress Tutorial
Noted That:
  • To install correctly this nginx-champuru.zip .
  • Fisrt Download the nginx-champuru.zip to your computer
  • Extract/Open nginx-champuru.zip to Your Computer.
  • Then, Find readme.txt file inside nginx-champuru.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " nginx-champuru.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Nginx Champuru

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Nginx Champuru

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Nginx Champuru

Step-5 : Now, Browse " nginx-champuru.zip " Downloaded plugin from your computer, Where you downloaded " nginx-champuru.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Nginx Champuru

Step-6 : Now, Click on " Active Plugin "

Activate Nginx Champuru

Step-7 : Then, See left Side Menu. " Nginx Champuru " folder is added on left Side Menu. Now, Click on " Nginx Champuru " folder.

Noted that: If you do not see " Nginx Champuru " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Nginx Champuru Configurations and Settings or How to work " Nginx Champuru " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Nginx Cache Controller " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Nginx Cache Controller
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins .
  • The plug-in is made effective.

Example of Nginx settings:

Allow X-ACCEL-EXPIRES for fastcgi.


 location ~ \.php$ { include /etc/nginx/fastcgi_params; fastcgi_pass unix:/tmp/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $vhost_root/$fastcgi_script_name; fastcgi_pass_header "X-Accel-Redirect"; fastcgi_pass_header "X-Accel-Expires"; }

Setting cache directory for reverse proxy.


proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=czone:4m max_size=50m inactive=120m;
  • The default path is /var/cache/nginx.
  • The default value of levels is 1:2.
  • You can change the cache path at the admin panel.

Setting the key for the reverse cache proxy.


proxy_cache_key "$scheme://$host$request_uri"
  • You can customize proxy_cache_key with nginxchampuru_get_reverse_proxy_key hook.

Name