Name

unique_hostname

Synopsis

If you have a cluster of caches talking to each other and sharing a single visible_hostname value, you must use this directive to give each a unique name. Squid uses the unique name in HTTP Via headers to detect forwarding loops (see Section 10.2).

Syntax

unique_hostname hostname

Default

No default

Example

unique_hostname cache1.host.name

Related

visible_hostname, hostname_aliases

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.