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

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