Hi Marco Corte,

Marco Corte wrote on 14.07.2017:

> Hello, list!

> In http mode I am using cookie based persistence with something like

> cookie rs insert indirect nocache httponly maxidle 1h

> How can I instruct haproxy to add an header to the response together 
> when it performs this set cookie?

http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-http-response

Idea for the backend block, untested.

acl rs-cookie cook(rs) -m found
http-response add-header <name> <fmt> if rs-cookie

> Thank you in advance
>
> .marcoc

-- 
Best Regards
Aleks


Reply via email to