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

How to create bind policy for requests with or without proxy-protocol header

$
0
0

I have a HAProxy, which listens on port 443. There are 2 types of requests coming to port 443: 1) normal API request which contains proxy-protocol v2 header ( so I need "Accept-proxy, for such packets). 2) health-check request which doesn’t have proxy-protocol header.

How can I configure ‘bind *:443 …’ rule, so that I can handle 2 types of packets correctly ? i.e HAProxy can apply ‘accept-proxy’ for request with proxy-protocol header, and not using accept-proxy for request which doesn’t have proxy-protocol header.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4736

Trending Articles



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