Login to SSH and do this
cd /usr/local/src
wget http://nginxcp.com/latest/nginxadmin.tar
tar xf nginxadmin.tar
cd publicnginx
./pythonfix
./nginxinstaller install
It's Done...... Now go to WHM and search for nginx, You will see it there
are you getting "502 Bad Gateway" error ?
here is the solution
go to WHM and search for "tweak settings"
open it and search for "Apache non-SSL" and set it to "0.0.0.0:8081"
No comments:
Post a Comment