Why backend Apache listening to external IP
Why backend Apache listening to external IP
Hello.
I have been using Vesta with Apache only till now. Today, I reinstalled it using Nginx+Apache because I need reverse proxy on frontend.
Anyway, I noticed that whole panel is configured that Apache is listening to external server IP. I see no reason for such configuration, since it's only working in backend and it shouldn't be reachable by itself.
So my question is, why is Apache not listening only to 127.0.0.1 (localhost) and Nginx proxying traffic to localhost Apache port? Currently, it routes traffic to externalIP:8080
I have been using Vesta with Apache only till now. Today, I reinstalled it using Nginx+Apache because I need reverse proxy on frontend.
Anyway, I noticed that whole panel is configured that Apache is listening to external server IP. I see no reason for such configuration, since it's only working in backend and it shouldn't be reachable by itself.
So my question is, why is Apache not listening only to 127.0.0.1 (localhost) and Nginx proxying traffic to localhost Apache port? Currently, it routes traffic to externalIP:8080