Nginx setup in reverse will boost up cPanel/WHM Server. cPanel does not officially support nginx yet but we can set up nginx on cPanel using NginxCP installation script , which provide good performance with cPanel Servers.
Nginx setup in reverse proxy support static contents like css, images, swf file , javascript etc and forward the remaining dynamic requests to apache web server, that the process called as Nginx reverse proxy and Nginx behaves like front end server.
Lets start the NginxCP installation
Step 1: To install the server script access the SSH with root account and execute the commands as we mentioned in this article,
Step 2: Go into the directory through below command:
# cd /usr/local/src
Download nginxadmin package through below command .
# wget http://nginxcp.com/latest/nginxadmin.tar
Extract the nginxadmin.tar in the same path
# tar xf ngnixadmin.tar
After extract the publicnginx folder will be create in the same path and go to this directory.
# cd publicnginx
Now run the ngnix installer script through below command
# ./ngnixinstaller install
If you face the error like “access key doesn’t exist,” then you need to create access key on cPanel / WHM Server ,
Follow below steps to configure access key through Control panel through WHM Login.
WHM Home
>>Clusters
>>Remote Access Key
>>Generate New Key
After Generated New key ,now you need to run the installer script again as above. Once the installer script has ran successfully, Restart the ngnix with apache service then execute below command:
# /etc/init.d/httpd restart
After installation of ngnix , you can check and manage the Ngnix Admin via Plugin section in WHM panel. It looks like below:

I hope this article will helps you!!
Done!