Name

never_direct

Synopsis

The never_direct access rules define a class of requests that must never be forwarded to the origin server. For these, Squid must select an appropriate neighbor cache to handle the request. See Section 10.4.3.

Syntax

never_direct allow|deny [!]ACLname ...

Default

No default

Example

acl SpecialServers dstdomain .example.com
never_direct allow SpecialServers

Related

acl, always_direct, prefer_direct, nonhierarchical_direct, minimum_direct_hops, minimum_direct_rtt, cache_peer_access

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.