On 29 Apr 2016 11:29, "Mayank Jha" <mayank25080...@gmail.com> wrote: > > I am facing the following in haproxy 1.5. I get the following error, with error code "SC" which is very misleading, for the below mentioned config.
Why do you think it's misleading? > haproxy: 127.0.0.1:53010 [29/Apr/2016:12:05:40.552] my_frontend my_frontend/<NOSRV> -1/-1/-1/-1/1 503 212 - - SC-- 0/0/0/0/0 0/0 "GET / HTTP/1.1" > > With the following config. > > frontend my_frontend > bind :80 > acl global hdr(host) -i blablabla > use_backend my_backend if global > backend my_backend > server google www.google.com:80 Given that you don't alter the Host header before submitting the request to Google, I'm not sure what you're expecting to happen. I think there's a fair bit of extra information you'll need to provide before I (at least; not speaking for anyone else!) understand what your problem actually *is*. You're assuming we know more than we do about your setup, aims, and expected outcomes :-) J