Run site on a different port than 80 and 443

2webmen

Verified User
Joined
Mar 18, 2016
Messages
14
Hi
I am puzzled, I run NGINX as a Proxy to Apache out of the box with custom build 2 on Centos 6+.

I want to run a site say at port 3080 3443 and not on port 80 and 443, because I it has sensitive info and I want it firewalled, simple request I thought.

So I go in as a admin into to "custom httpd config" and edit the nginx proxy template as follows:

|*if DOMAIN="abc.abc.com"|
|?PORT_80=3080|
|?PORT_443=3443|
|*endif|

Now great, the config is modified and I find the site on these ports,
BUT I still find the site on port 80 and 443 too, what is happening and how can I do this the correct way?

best wished Joris
 
Back
Top