Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It will improve the performance & web serving capacity of your server while reducing CPU/RAM load at the same time. It does that by installing & configuring the popular Nginx web server to act as a reverse caching proxy for static files (like CSS, JS, images etc.) with an additional micro-cache layer to significantly improve performance of dynamic content generated by CMSs like WordPress, Joomla or Drupal as well as forum software like vBulletin, phpBB, SMF or e-commerce solutions like Magento, OpenCart, PrestaShop and others. Install Nginx as a reverse proxy on cPanel using Engintron.
Nginx is an alternative web server to Apache (which is bundled with cPanel by default). It offers several performance improvements over Apache. Nginx is the second most widely used web server.
- A reverse proxy server for the HTTP, HTTPS, SMTP, POP3, and IMAP protocol
- A load balancer and an HTTP cache
- A frontend proxy for Apache and other web servers, combining the flexibility of Apache with the good static content performance of NGINX
- NGINX supports FastCGI and SCGI handlers for serving dynamic content scripts such as PHP and Python.
Clearly, NGINX serves static content much faster than Apache. If you need to serve a lot of static content at high concurrency levels, NGINX can be a real help.
How to install Engintron cPanel Plugin
Install Nginx as a reverse proxy cPanel plugin on your server.
Requirements:
- Engintron is fully compatible with CentOS version 5, 6 and 7 on both 32-bit and 64-bit platforms. Additionally, users have already reported a 100% compatibility with CloudLinux versions 6 & 7.
- It is also compatible with both EasyApache 3 and EasyApache 4 as of version 1.7.0.
It required root SSH access to your cPanel server to install.
cd / rm -f engintron.sh wget --no-check-certificate https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh bash engintron.sh install
Make sure ports 8080 and 8443 are enabled in your firewall.
After installation, refresh WHM in your browser and you should see Engintron in the Plugins section
Uninstall cPanel Plugin Engintron
Login as root user in your server.
cd / bash engintron.sh remove
It will also revert your system back to its previous state.
If for some reason Apache fails to start after you uninstall Engintron, simply open up WHM and navigate to “Tweak Settings“, then look up Apache’s HTTP port field and if the value there is 0.0.0.0:8080, simply change it to 0.0.0.0:80. click save and then restart Apache from within WHM.