I am currently using nginx as front-end proxy for Apache. I have setup nginx to use port 80 and Apache to use 8080. But after nginx redirected the request to Apache, the port 8080 is visible from the browser. Is there any way this port can be hidden and not visible because it would be very ugly for users that wants to bookmark it.
It looks like the request goes to Apache directly without going to nginx first. Is there any way I can find out why is that so and how to make the request goes to nginx first?
THanks in advance for your help.
So I restarted the whole server to load the configuration and make sure that nginx is loaded first instead of Apache.