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
The rules unique-id-header, unique-id-format and log-format will apply only to one particular frontend.
Is there a way to move these rules in default section of haproxy configmap so that they get applied to every other frontend and I don't have to repeat the rules again for other frontends? This supports only the option config of haproxy.
The text was updated successfully, but these errors were encountered:
@diwakar-s-maurya , frontend rules applies any host that is using the corresponding port (eg 80).
Is there a way to move these rules in default section of haproxy configmap so that they get applied to every other frontend and I don't have to repeat the rules again for other frontends?
This is not possible today via annotations. But you can use custom templates to achieve this. Unless you are exposing many other ports from HAProxy, I would say just use the frontend rules.
I want to send a unique string in header to backend for every request. The below configuration is works fine
The rules
unique-id-header
,unique-id-format
andlog-format
will apply only to one particular frontend.Is there a way to move these rules in default section of haproxy configmap so that they get applied to every other frontend and I don't have to repeat the rules again for other frontends?
This supports only the
option
config of haproxy.The text was updated successfully, but these errors were encountered: