Re: http-send-name-header for response?

2017-02-09 Thread Mark Staudinger
Hi Cyril, Perfect, that's exactly what I needed, and overlooked in the docs. Thanks! -=Mark On Thu, 09 Feb 2017 12:39:06 -0500, Cyril Bonté wrote: Then use : http-response set-header X-Server %s

Re: http-send-name-header for response?

2017-02-09 Thread Cyril Bonté
Hi Mark, Le 09/02/2017 à 18:16, Mark Staudinger a écrit : Hi Daniel, I provided a stripped-down backend configuration. I am in fact using a persistence cookie, but not for all requests, so I would prefer to avoid that as a means of identifying the particular backend vs. sticking to a

Re: http-send-name-header for response?

2017-02-09 Thread Mark Staudinger
Hi Daniel, I provided a stripped-down backend configuration. I am in fact using a persistence cookie, but not for all requests, so I would prefer to avoid that as a means of identifying the particular backend vs. sticking to a particular backend server - especially as the cookie does need

Re: http-send-name-header for response?

2017-02-09 Thread Daniel Schneller
Hi! I know this is not exactly what you want, but as your example does not show a persistence cookie, you could use that. See https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4.2-cookie You could also

http-send-name-header for response?

2017-02-09 Thread Mark Staudinger
Hi Folks, Given a setup where I have a backend like so: backend production balance roundrobin hash-type consistent http-check expect status 200 option httpchk GET /\ HTTP/1.1\r\nHost:\ myhost.net\r\nUser-agent:\ healthcheck\r\nConnection:\ close server