Search squid archive

http host rewrite for origin (reverse proxy)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
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).

http_port 80 accel
cache_peer IP_ORIGIN parent 80 0 default no-query no-digest no-netdb-exchange
cache_peer IP_SIBLING1 sibling 3128 3130
cache_peer IP_SIBLING2 sibling 3128 3130
...

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 storage.example.com and I'd like the cache to be accesssible via cdn.example.com. So when a request comes to cdn.example.com, it goes to the cache and it requests files from storage.example.com - map cdn.example.com -> storage.example.com. I failed to find such an option for cache_peer.

Thank you,
Tomas
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux