On 1/7/23 10:04, Willy Tarreau wrote:
However there's a solution nowadays, you can use "http-after-response"
instead of "http-response". It will apply *after* the response, and will
happily overwrite stats, redirects and even error pages. I'd say that
it's the recommended way to place alt-svc now. /me just realises that I
should update the example on the haproxy.org main page by the way
I made that change, and it's still not including the alt-svc header on
the stats page.
Initially I changed every http-response to http-after-response, but that
didn't work for my error lines like this:
http-response return status 404 default-errorfiles if { status 404 }
still on haproxy 2.7.1.
I love this community. Thank you for all your efforts.
Thanks,
Shawn