You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When <code>mod_proxy</code> connects to the backend/destination server,
494
-
use the <ahref="http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt"><code>PROXY</code></a> protocol, sending the human-readable <code>PROXY</code>
494
+
use the <ahref="http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt"><code>PROXY</code></a> V1 protocol, sending the human-readable <code>PROXY</code>
495
495
command to the destination server. This allows backend servers to implement
496
496
access controls/logging, based on the IP address of the connecting client.
497
497
The <ahref="https://github.com/Castaglia/proftpd-mod_proxy_protocol"><code>mod_proxy_protocol</code></a>
<b>Note</b>: do <b>not</b> use this option unless the backend server
504
-
<em>does</em> support the <code>PROXY</code> protocol. Otherwise, the
504
+
<em>does</em> support the <code>PROXY</code>V1 protocol. Otherwise, the
505
505
<code>PROXY</code> protocol message will only confuse the backend server,
506
506
possibly leading to connection/login failures.
507
507
</li>
508
508
509
+
<p>
510
+
<li><code>UseProxyProtocolV2</code><br>
511
+
<p>
512
+
When <code>mod_proxy</code> connects to the backend/destination server,
513
+
use the <ahref="http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt"><code>PROXY</code></a> V2 protocol, sending a binary-encoded "PROXY" command
514
+
to the destination server. This allows backend servers to implement
515
+
access controls/logging, based on the IP address of the connecting client.
516
+
The <ahref="https://github.com/Castaglia/proftpd-mod_proxy_protocol"><code>mod_proxy_protocol</code></a>
517
+
ProFTPD module can be used to handle the "PROXY" command on the receiving
518
+
side, <i>i.e.</i> when using <code>proftpd</code> as the
519
+
backend/destination server.
520
+
521
+
<p>
522
+
<b>Note</b>: do <b>not</b> use this option unless the backend server
523
+
<em>does</em> support the <code>PROXY</code> V2 protocol. Otherwise, the
524
+
"PROXY" protocol message will only confuse the backend server, possibly
0 commit comments