How to install Nginx reverse proxy in cPanel
This post helps you to install Nginx reverse proxy in cPanel. Nginx is a web server. It can act as a reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer and an HTTP cache.
The main reason to install Nginx reverse proxy in cPanel is, it is faster than straight Apache. It will handle static files more efficiently and reduced load on Apache resources. Also, Nginx handles SSL connections faster than Apache.
Steps to install Nginx reverse proxy in cPanel
cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller install
You may receive this error message: “access key doesn’t exist“. Then you can create it via WHM >> Cluster/Remote Access >> Setup Remote Access Key and retry to install.
Also, you can uninstall it using the following commands.
cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller uninstall
That’s it!
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
has nginx conflict with cpanel or do it slow websites on vps ?
This installation has compatibility issues with EA4, but it works like charm in EA3. Also, it will considerably speed up your websites 🙂