Install Nginx on Cpanel WHM based server
We had problem with installing Nginx webserver on cpanel based server then we found some plug-in which are Nginx Admin and Cpanel Nginx Cpanel Nginx is a paid plugin, which we are not using.Nginx Admin is a free Plug-in for cpanel WHM which we are using and it’s a good plug-in to make your cpanel based server blazing fast.
Nginx as Reverse proxy to APACHE on cpanel WHMNow we will start installing Nginx Admin a free Nginx Reverse proxy plugin for cpanel WHM. First step download the plug-in form http://nginxcp.com/latest/nginxadmin.tar the latest version will be available in the url. Use the below code to download plug-in to server
Now untar the compressed plug-in which we downloaded. Use the below code to untar ‘nginxadmin.tar’ file
After Untar nginxadmin.tar file we will see ‘publicnginx’ directory enter into ‘publicnginx’ using the below code.
tar xf nginxadmin.tar
We can find plug-in files in the ‘publicnginx’ directory run below code to install the Nginx Admin plug-in.
As shown in the above picture Nginx admin is installed successfully.
Uninstall Nignx adminEnter into directory where Nginx admin is untar and use the Below code will uninstall Nginx Admin