Thanks!
On Fri, Jun 11, 2021 at 11:36 AM Tim Düsterhus wrote:
> James,
>
> On 6/11/21 8:28 PM, James Brown wrote:
> > Is there any reason (performance or otherwise) to use http-response
> instead
> > of just turning everything into http-after-response?
>
> There is a difference: If a http-respon
James,
On 6/11/21 8:28 PM, James Brown wrote:
Is there any reason (performance or otherwise) to use http-response instead
of just turning everything into http-after-response?
There is a difference: If a http-response rule fails [1] then a standard
error page will be emitted. For this error pa
Is there any reason (performance or otherwise) to use http-response instead
of just turning everything into http-after-response?
On Fri, Jun 11, 2021 at 11:07 AM Tim Düsterhus wrote:
> James,
>
> On 6/11/21 8:03 PM, James Brown wrote:
> > Is there any way to set a HTTP header on a redirect being
James,
On 6/11/21 8:03 PM, James Brown wrote:
Is there any way to set a HTTP header on a redirect being emitted by
haproxy?
To also match HAProxy generated responses (including redirects and error
pages) you will need to use 'http-after-response':
https://cbonte.github.io/haproxy-dconv/2.4/
Is there any way to set a HTTP header on a redirect being emitted by
haproxy?
Given the following simplified config:
global
log stdout user
defaults
log global
timeout client 9s
timeout server 10s
timeout connect 1s
frontend test_fe
mode http
http-response set-header
5 matches
Mail list logo