Hi ,

I am trying to enable corse with below in my frontend

capture request header origin len 128
http-response add-header Access-Control-Allow-Origin %[capture.req.hdr(0)]

I am not able to see any header set if I try to check using curl

curl --verbose -H "Origin: "example.com" --head example2.com

not sure if I am missing something, I am using haproxy 1.6.15.

Regards
Senthil

Reply via email to