Nginx is a powerful opensource web server. Nginx can scale websites to millions of visitors. cPanel is a known word for the ones who are familiar with web hosting. cPanel is the leading and reliable hosting control panel around the globe.

The easiest way to integrate Nginx on a cPanel/WHM server is Engintron. Engintron will improve the performance and web serving capacity of the web 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, IPB or e-commerce solutions like Magento, OpenCart, PrestaShop and others.

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. Engintron is also compatible with both EasyApache 3 and EasyApache 4 as of version 1.7.0.

Engintron has to perform constant file operations within cPanel, so make sure HTTPS works smoothly. Since Engintron is built in Bash & PHP, it’s mandatory that open_basedir protection is disabled in the system. Besides, if PHP is served via PHP-FPM or running as a CGI or FastCGI module in the server, the file system’s restrictions in access rights and file ownership will prevent you from having any issues with open_basedir disabled.

If you use a firewall like CSF (or similar), please make sure ports 8080 and 8443 are enabled. Apache will use these when Nginx binds to ports 80 and 443 to handle HTTP and HTTPS traffic respectively.

If you already had some other Nginx for cPanel plugin installed on your system, please make sure you’ve uninstalled it first.

Installation

Installation is a process that lasts only a few minutes. You’ll need root SSH access to your cPanel server. To install Engintron, log in as root and type the following commands, one at a time:

cd /
rm -f engintron.sh
wget --no-check-certificate https://raw.githubusercontent.com/engintron/engintron/master/engintron.sh
bash engintron.sh install

The process will take a couple of minutes to complete and after that, Engintron will be installed on the cPanel server. Engintron has a nice user interface which is activated inside WHM, under the Plugins section. After installation, refresh WHM in the browser and you should see Engintron in the Plugins section.

In there, you’ll find basic options to control Nginx, Apache and MySQL, all in one convenient place. Additionally, you can edit all of Nginx’s configuration files (as well as some from Apache & MySQL) to get even more from Engintron (e.g. configure Engintron for use with CloudFlare). If however, all you want is to accelerate both static & dynamic content delivery, then Engintron is already set up for you and you don’t need to do anything more.

Inside the Engintron app dashboard, you’ll also find some handy utilities to monitor things like your Nginx access & error logs, check processes on your server or see incoming traffic on port 80.

Please refer this link for more info: https://engintron.com/docs/#/pages/index

License

Engintron is released under the GNU/GPL license. For more info, have a look here: http://www.gnu.org/copyleft/gpl.html