Hello, im facing configuration issue.
I have multiple web servers on single public IP. Each server is separate linux instance with assigned local ip.
I have created Web reverse proxy and redirect all 80/443 traffic from wan to this proxy.
I’m using CentOs 7 with latest updates, and apache 2.4.6 on all instances.
Vhost on this proxy for phabricator.ourdomain.com:80 just do simple redirect to phabricator.ourdomain.com:443
Vhost on this proxy for phabricator.ourdomain.com:443 uses lets encrypt certificate and proxy pass like this
ProxyPass / http://<local ip>:80/ ProxyPassReverse / http://<local ip>:80/
phabricator local.conf have set this
No when i access phabricator im proxied to the server with this error message
This request asked for "/" on host "<local ip>", but no site is configured which can serve this request.
I have tried setting base-uri or allowed-uris, but this will cause my computer to try connection to this local ip. Which of course doesn’t work.
So I set this on proxy vhost
But now while accessing I enter redirection loop to https://phabricator.ourdomain.com
Now I’m stucked, I will appreciate any ideas where I could make mistake.