Re: Setting response headers conditionally

2018-10-14 Thread Ivan Kurnosov
Yep, that's what I ended up doing following the advice from serverfault. Now it looks logical and I must admit I did not check the log for warnings (I'm running it with systemd but I expected any warnings still to be shown when I emit `systemctl reload`, I was wrong) Thank you! On Mon, 15 Oct

Re: Setting response headers conditionally

2018-10-14 Thread Cyril Bonté
Hi, Le 14/10/2018 à 22:39, Ivan Kurnosov a écrit : I have the following config, it's under the `frontend` section for tls connection and haproxy terminates https connections:     acl domain-acl-host hdr(host) -i domain.tld     rspadd X-Foo:\ bar if domain-acl-host     rspadd X-Baz:\ baz