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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.