<item>No caching support -- no reliable Request URIs for that (see above).
</itemize>
- proxy_protocol_access allow localhost
+ <sect1>Receive PROXY protocol, Versions 1 & 2
+ <p>More info at <url url="http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt">
+
+ <p>PROXY protocol provides a simple way for proxies and tunnels of any kind to
+ relay the original client source details without having to alter or understand
+ the protocol being relayed on the connection.
+
+ <p>Squid currently supports receiving HTTP traffic from a client proxy using this protocol.
+ An http_port which has been configured to receive this protocol may only be used to
+ receive traffic from client software sending in this protocol.
+ HTTP traffic without the PROXY header is not accepted on such a port.
+
+ <p>The <em>accel</em> and <em>intercept</em> options are still used to identify the
+ traffic syntax being delivered by the client proxy.
+
+ <p>Squid can be configured by adding an <em>http_port</em>
+ with the <em>require-proxy-header</em> mode flag. The <em>proxy_protocol_access</em>
+ must also be configured with <em>src</em> ACLs to whitelist proxies which are
+ trusted to send correct client details.
+
+ <p>Forward-proxy traffic from a client proxy:
+ <verbatim>
++ acl frontend src 192.0.2.1
+ http_port 3128 require-proxy-header
- proxy_protocol_access allow localhost
++ proxy_protocol_access allow frontend
+ </verbatim>
+
+ <p>Intercepted traffic from a client proxy or tunnel:
+ <verbatim>
++ acl frontend src 192.0.2.2
+ http_port 3128 intercept require-proxy-header
- Use of <em>require-proxy-header</em> on <em>https_port</em> is not supported.
++ proxy_protocol_access allow frontend
++</verbatim>
++
++<p>Reverse-proxy traffic from a frontend load balancer sending PROXY protocol:
++<verbatim>
++ acl frontend src 192.0.2.3
++ http_port 3128 accel require-proxy-header
++ proxy_protocol_access allow frontend
+ </verbatim>
+
+ <p><em>Known Issue:</em>
++ Use of <em>require-proxy-header</em> on <em>https_port</em> and <em>ftp_port</em> is not supported.
+
<sect>Changes to squid.conf since Squid-3.4
<p>