[squid-users] Supported configuration for adding origin server IP in response header

Darren Spruell phatbuckett at gmail.com
Thu Oct 16 23:08:35 UTC 2014


On Thu, Oct 16, 2014 at 1:53 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>> I view the Via header as similar to the Received header in SMTP.
>> In this case it's added by other proxies/caches, correct?
>
> Thats a good analogy, but not quite. It MUST be added by all proxies
> including Squid.
>
> http://tools.ietf.org/html/rfc7230#section-5.7.1 paragraphs 3 and 5.
>
> In squid.conf simply remove any "via off" you may have. The default is
> to comply with the RFC "MUST send" criteria.

The Via header indicates proxies/caches/gateways which have handled
the message between the requestor and the origin server. I do not
require this information; is there a way to configure squid to
indicate the IP address of the origin server in a response header?

Darren


More information about the squid-users mailing list