I am using Nginx on my main IP and Apache is configured on to accept connections on 127.0.0.1:9091 from Nginx
Apparently all new accounts are set up on the main IP and I have to change it manually to 127.0.0.1 in the apache’s config every time.
I have a few questions:
Is my setup is Ok? I mean using apache on 127.0.0.1:9091instead of mainIP:9091. I am using this set up to avoid connections from outside to the apache’s port.
Is there a way to add 127.0.0.1 to the shared IP list? Virtualmin doesn’t allow it
Also when I restore a backup from my old server, virtualmin set up it on 80 port despite of my settings to use 9091. But when I create new accounts they all set to the correct port 9091. Is it possible to fix?