Using nginx on CPanel server - please help
Using nginx on CPanel server - please help
Hi!
I want to use nginx+apache (reverse proxy) on CPanel (shared hosting) server. I have multiple IP's, and I want to use nginx only for 1 IP, for few sites.
But I do not know, how to indicate another port only for one IP.
For example, I try to use this:
httpd.conf
and I see error - Listen requires 1 or 2 arguments.Code:Listen IP1:80 Listen IP2:80 Listen IP3:8080 # nginx frontend
If I change /var/cpanel/cpanel.config: apache_port, port change for all IP's and virtual hosts, but I want to change apache port only for one IP.
How to do this?
Thank you!