Search squid archive

Re: help on always_redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


-- 
Yahoo/Skype: sqlcamel

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux