Hi,

We need to add a header to every request that is being routed via haproxy,
we were able to achieve with a simple add header instruction:

reqadd      X-Haproxy-L1:\ true

However it seems haproxy only adds this request to the first request in a
keep alive connection stream and this header is missing when browser reuses
the connection. We could work around this behavior using httpclose, however
this would disable keep alive I guess.

Is there a way to support keep alive and yet add the headers (or apply some
rewrite rules) to all the request effectively terminating the keep alive at
haproxy  like Apache. We also need to get some rewrite rules going and would
need haproxy to apply the rules in every request as well.

Thanks
Sachin


Reply via email to