Install Nginx as reverse proxy on cPanel server

How to install Nginx as reverse proxy on cPanel server

following steps are installing Nginx as reverse proxy on cPanel server

Steap 1 : 

SSH to server as root.

Steap 2 : 

Change the directory to “/usr/local/src”

# cd /usr/local/src

then,

Download the latest nginxadmin package & Install

#wget http://nginxcp.com/latest/nginxadmin.tar 
#tar xf nginxadmin.tar
#cd publicnginx
#./nginxinstaller install

Now, After installing make sure Nginx process is running on the server, You can chcek the following command.

# ps aux | grep nginx

then, it is not showing any process, then kill httpd and restart httpd

#killall -9 httpd
#/etc/init.d/httpd restart

Nginx Admin Uninstall instruction:

#cd /usr/local/src 
#wget http://nginxcp.com/latest/nginxadmin.tar 
#tar xf nginxadmin.tar 
#cd publicnginx
#./nginxinstaller uninstall 

 


Install Nginx as reverse proxy on cPanel server, Hostripples Web Hosting
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.
Subscribe Now to stay updated.

Please fill in your email address to get most latest updates.