How to install nginx as reverse proxy in a cPanel server
Nginx as reverse proxy
If you wish to install nginx as reverse proxy in a cPanel server then, follow this steps:
#cd /usr/local/src
Download the latest nginxadmin package & Install
#wget http://nginxcp.com/latest/nginxadmin.tar
#tar xf nginxadmin.tar
#cd publicnginx
#./nginxinstaller install
In WHM, now Nginx Admin plugin will be available under plugins section. After installing make sure Nginx process is running by
# ps aux | grep nginx
If 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
No comments:
Post a Comment