Hello, i have two server server1 one on the front end and have many vhost sites, server2 on the backend and just have https connection.
on server1 i install squid, i want any one trying to access vhost example.com/test or test.example.com to be forwarded to server2.
> test.example.com >> https://192.168.1.4/test
> example.com/test >> https://192.168.1.4/test
"https://192.168.1.4/test" is the root document for server2
also server2 have some other paths like https://192.168.1.4/test1
how can i configure squid to handle this setup?
before i test apache mod_proxy with mod_proxy_html it work fine but it have many issues like in some pages it show the local ip of server2 or it not showing some images or wrong redirection.