Skip to main content

Install Nginx Reverse Proxy listening on different ports

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  There isn't a supported way to handle this in cPanel.  You may want to try testing our experimental standalone version of Nginx as outlined here:

    https://docs.cpanel.net/knowledge-base/experimental-software/nginx-standalone/

    but even that will change the ports if it detects the default of 80 and 443.

    You may need to install Nginx manually and configure that on the server outside of cPanel tools to get this behavior.

    0
  • Dimitris Andrikopoulos

    Hello,

    Thanks for your feedback. If I use the Nginx Manager of WHM so as to install the Nginx as a Reverse Proxy with caching, the EasyApache will change the default ports 80 and 443, as these will be assigned to Nginx.

    After the installation of Nginx, if I edit the configuration files of both EasyApache and Nginx, so as to manually assign EasyApache the default ports 80 and 443 again, and assign different ports to Nginx, will be that possible?

    0
  • cPRex Jurassic Moderator

    You're welcome to try, but that isn't something that we test so you'd need to check that out and evaluate if it will work for your machine.

    0

Please sign in to leave a comment.