Hello Cyril,

2016-04-22 13:30 GMT+02:00 Cyril Bonté <cyril.bo...@free.fr>:

> Hi Olivier,
>


> I think that part of the issue is from the syntax you are using :
>   tune.maxrewrite 1k
> Such syntax doesn't exist. Here haproxy, will parse and recognize the
> value "1".
> Same if you tried with "tune.maxrewrite 9k" I guess.
>


You are absolutely right ! I set tune.maxrewrite 1024 and now it works \o/
What I do not understand is that if this was parsed as "tune.maxrewrite 1",
I should have 400 error on all requests because as Lukas stated, I add a
few headers :

option forwardfor
http-request set-header X-SSL %[ssl_fc]
http-request set-header X-Forwarded-Proto https


Is there something I miss ? Should we improve config parsing so that
such syntax prompts a warning ?

Thank you all,

Reply via email to