Hi all together,
i am using HaProxy as proxy for an apache2 webserver setup.
Apache2 is listening on port 8080 and HaProxy is listening on port 80 and 443. I am also using SSL.
If i browse phab.example.com:8080 (domain changed here) everything is working fine, vHosts works and so on.
But if i browse phab.example.com (which requests to HaProxy), i always get the content of /var/www/html and i dont know why.
My HaProxy configuration /etc/haproxy/haproxy.cfg:
Whats the problem?
Please help me. Thank you!
I have moved configuration files to github gist, so it is formatted better.