Hi Alex

We have tried on both the front end haproxy config and back end is there a
location it should be done? Other of course than at the source request as
we have no control over that.

Best,

Tom

On Mar 24, 2017 17:08, "Aleksandar Lazic" <[email protected]> wrote:

> Hi.
>
> due to the fact that websocket is not http haproxy can't rewrite
> http-header after a websocket is established.
>
> Du you try to manipulate the header AFTER the socket is established?
>
> R Aleks
>
> Am 24-03-2017 17:54, schrieb Thomas Sheppard:
>
> Hi everyone,
>
> Could someone help us with some info on how to rewrite a request header
> before its passed to the backend servers?
>
> Trying
>
> http-request add-header sec-websocket-key abc123
>
> or
>
> reqadd sec-websocket-key:\ abc123
>
> Does not work the key remains the same as it was in the original request.
>
> Thanks in advance for any help available
>
> Tom
>
>
>

Reply via email to