Hi Tim,

On Tue, Mar 13, 2018 at 12:37:44AM +0100, Tim Düsterhus wrote:
> Willy,
> 
> I'd like to bring this issue to your attention again, possibly you are
> able to find a solution for haproxy 1.9?

I hope so, but we'll need to be sure that someone is assigned to this,
otherwise I'll keep being busy with other stuff.

> This issue prevents me from submitting one domain to the HSTS preload
> list, as I need to perform a redirect on the zone's apex and that
> redirect does not include the HSTS header.

I *suspect* that in the end we could simply add a series of "header"
statements to the redirect rules. These ones would be followed by a
log-format expression making it possible to send various elements in
these response. But if it's mainly needed for HSTS, probably that in
the end we could be fine with (at least initially) adding a single
"header" directive. We'd then have :

  http-request redirect location "/foo" header x-my-header "my-expression"

Just my two cents,
Willy

Reply via email to