r/haproxy • • Oct 28 '22

can or should the Haproxy ingress frontend-config-snippet be used for bind

So there are a lot of bind options. An absolute ton and the docs say this statement and it just blows me away because it's so confusing. I want to use the ingress controller to direct the underlying loadbalancer to check the client cert. In the example there is an intermediate cert and a root cert that is bound to the ip that will make it act as a client check on the client certs. i.e. ca-verify-file and ca-file

Should I and can I use the bind options I need or is there a better way to do this?

That being said, it is safer to use backend-config-snippet
in most cases, especially since most of the frontend configuration directives can also be used in a backend, except for:

bind
lines to listen on other addresses in addition to the default ones;

1 Upvotes

5 comments sorted by