<div dir="ltr">Hello,<br>I would like to create a file distribution cache with squid. There is an origin server that has some fixed limited capacity and I'd like to place a few servers close to clients, in a mesh configuration (reverse proxy).<br><br>http_port 80 accel<br>cache_peer IP_ORIGIN parent 80 0 default no-query no-digest no-netdb-exchange<br>cache_peer IP_SIBLING1 sibling 3128 3130<br>cache_peer IP_SIBLING2 sibling 3128 3130<br>...<br><br>Now the question is - is it possible to specify a mapping between the hostname used on the cache vs the origin hostname? For example the origin is reachable via <a href="http://storage.example.com">storage.example.com</a> and I'd like the cache to be accesssible via <a href="http://cdn.example.com">cdn.example.com</a>. So when a request comes to <a href="http://cdn.example.com">cdn.example.com</a>, it goes to the cache and it requests files from <a href="http://storage.example.com">storage.example.com</a> - map <a href="http://cdn.example.com">cdn.example.com</a> -> <a href="http://storage.example.com">storage.example.com</a>. I failed to find such an option for cache_peer.<br><br>Thank you,<br>Tomas<br></div>