[squid-users] Origin address header

From: Darvin Denmian <darvin.denmian_at_gmail.com>
Date: Mon, 7 May 2012 17:33:53 -0300

Hi,

I've configured a Squid instance running a Reverse Proxy configuration
as stated in the following link:

http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator

Below the piece of configuration of my Reverse proxy:

http_port 174.xxx.xxx.133:80 accel defaultsite=www.mysite.com
cache_peer 174.xxx.xxx.133 parent 80 0 no-query originserver name=myAccel
acl our_sites dstdomain www.mysite.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all

Assuming that I have 2 hosts pointing to the IP "174.xxx.xxx.133"
(that is the IP of my Reverse proxy):

api.mysite.com
sandbox.mysite.com

How could I determine what address was used to access my proxy? Is
there some header that holds this information?

I hope you understand my doubt :)

Regards.
Received on Mon May 07 2012 - 20:34:20 MDT

This archive was generated by hypermail 2.2.0 : Tue May 08 2012 - 12:00:04 MDT