Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4733

Chaining HAProxies and the proxy protocol

$
0
0

@GerMalaz wrote:

I need to (temporarily) chain HAProxies (HAP A has connection issues with some backends)

HAP A -> HAP B -> backends

in HAP B, this works:

Blockquote
bind *:8080 accept-proxy

    acl lb src <ip>
    acl lb src <ip>
     tcp-request connection accept if lb

tcp-request connection expect-proxy layer4 if lb

    tcp-request connection reject

Blockquote

But the expect-proxy line (without the accept line), does not work with or without accept-proxy in the bind line.

Reading the docs, I expected the combination expect-proxy without accept-proxy to work. Is there a correct way?

Thanks,
Gerardo

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>