<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>On 2017-12-13 17:12, Amos Jeffries wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">On 14/12/17 05:52, Jorge Bastos wrote:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">Howdy,</span><br /> <br /> <span style="white-space: nowrap;">I'm trying to use always-direct, but maybe I'm doing something wrong.</span><br /> <span style="white-space: nowrap;">I have:</span><br /> <br /> <span style="white-space: nowrap;">acl local-servers dstdomain <a href="http://www.myweb.eu" target="_blank" rel="noopener noreferrer">www.myweb.eu</a></span><br /> <span style="white-space: nowrap;">always_direct allow local-servers</span><br /> <br /> <span style="white-space: nowrap;">but the website still appears in the logs, and not doing bypass.</span><br /> <span style="white-space: nowrap;">What could I be doing wrong?</span><br /> <span style="white-space: nowrap;">For what I see in the docs it's correct.</span></blockquote>
<br /> <span style="white-space: nowrap;">Your understanding of the docs is wrong.</span><br /> <br /> Once a message arrives at Squid is *cannot* "bypass the proxy" or whatever you want to call it. It MUST be serviced by the proxy.<br /> <br /> "always_direct allow ..." tells Squid to always use DIRECT access to the origin server IPs indicated in DNS records for the URL being fetched. Squid is prohibited from using any cache_peer server connection to service that transaction.<br /> <br /> Its counterpart is the "never_direct allow ..." which tells Squid DNS records MUST NOT be considered, only cache_peer connections are permitted.<br /> <br /> If both of those are "denied" (aka both DNS and cache_peer are permitted) the prefer_direct setting tells Squid whether to try the cache_peer or the DIRECT IPs first.<br /> <br /> <br /> The cache_peer_access controls which peers (from multiple) are permitted (or not) to be used for a given transaction.</div>
</blockquote>
<p>hi Amos,</p>
<p>sorry for the dup, it was my fantastic email client fault (outlook 2016).</p>
<p>Ok, so what would be the directive to allow what i want to achieve? I've been trying and having no success,</p>
<p><br /></p>
</body></html>