TNC Toolbox aims to enhance your WordPress experience with NGINX-on-cPanel (ea-nginx).
Built for our Managed Server clients, we've open-sourced it so others can enjoy it too!
With a heavy focus on the Apache + NGINX as Reverse Caching Proxy web stack, the plugin aims to help with Website Management, Performance and Security.
❤️ FOSS by The Network Crew Pty Ltd (TNC) for Merlot Digital & the world. ❤️
Pre-reqs:
- To use ea-NGINX features, your Hosting needs to be on cPanel
- Acquire a cPanel API Token (cPanel > Manage API Tokens)
- Configure the TNC Toolbox plugin inside WordPress
How to install:
- Go to
Plugins in WP-Admin
- Click on the button
Add New
- Search for
TNC Toolbox then click Install Now
- Click on
Activate plugin then Settings
- Enter your API Token, User & Hostname
- Save the config & use WP as-normal!
Selective Purging:
Starting with v2.1.0, you can leverage Selective Cache Purging rather than the entire cache.
To do this, you need to complete some steps - else it will not work. You must be root.
- Install the GetPageSpeed repository (dnf/yum) onto the Server:
dnf -y install https://extras.getpagespeed.com/release-latest.rpm
- Install ea-nginx-cache-purge module from GetPageSpeed repo:
dnf -y install ea-nginx-cache-purge
- Add
/etc/nginx/conf.d/server-includes/cache-purge.conf
File Contents: proxy_cache_purge PURGE from 127.0.0.1;
- Rebuild & Reload:
nginx -t && systemctl reload nginx
Updating from v1 to v2:
On every website running the plugin, check that:
- Website is reporting v2.x.x plugin version.
- Plugin has been activated post-update. *
- Config exists in the plugin settings.
- API status checker reports OK.
- /wp-content/tnc-toolbox-config/ folder is gone.
(* Change to main plugin file name may result in deactivation)