sqlcamel wrote:
> Amos Jeffries:
>> sqlcamel wrote:
>>> Hello,
>>>
>>> in squid.conf:
>>>
>>> #  TAG: always_direct
>>> #   Usage: always_direct allow|deny [!]aclname ...
>>> #
>>> #   Here you can use ACL elements to specify requests which should
>>> #   ALWAYS be forwarded by Squid to the origin servers without using
>>> #   any peers.  For example, to always directly forward requests for
>>> #   local servers ignoring any parents or siblings you may have use
>>> #   something like:
>>> #
>>> #       acl local-servers dstdomain my.domain.net
>>> #       always_direct allow local-servers
>>>
>>>
>>> So, what's "origin servers" by definition in Squid?
>> The origin server of a website. The machine referenced in DNS with A or
>> AAAA records when the domain name is looked up.
>>
>>> In reverse-proxy mode, does it mean the peers which have an originserver
>>>  option?
>> No. It in reverse-proxy mode it means force non-reverse proxy DNS
>> handling and ignore all cache_peer settings in squid.conf.
>>
> 
> Thanks a lot Amos.
> so if I set this directive in squid.conf for reverse proxy:
> 
> never_direct allow all
> 
> does it mean squid will ignore all DNS handling and pass only the
> traffic to the configured peers?
> 
> 

It's the opposite of always_direct. Has no effect on reverse-proxy behavour.

Amos
-- 
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
  Current Beta Squid 3.1.0.14

Reply via email to