Nginx is an apache alternative but on cPanel we are going to be using nginx as a proxy to minimize server load and speed up your websites.
Log into your server via SSH as root user
Or you can use this one line
That’s it…you are now able to use nginx on your Server or VPS