Re: CORS support

2019-12-17 Thread Alex Evonosky
Thank you Willy. That did it! Great work! Sent from my Pixel 3XL On Mon, Dec 16, 2019, 11:50 PM Willy Tarreau wrote: > Hello Alex, > > On Mon, Dec 16, 2019 at 01:22:42PM -0500, Alex Evonosky wrote: > > Hello Haproxy group- > > > > migrating from haproxy 2.0 to 2.1 and noticed some

Re: CORS support

2019-12-16 Thread Willy Tarreau
Hello Alex, On Mon, Dec 16, 2019 at 01:22:42PM -0500, Alex Evonosky wrote: > Hello Haproxy group- > > migrating from haproxy 2.0 to 2.1 and noticed some directives changed: > > === 2.0.10 === > > capture request header origin len 128 > http-response add-header Access-Control-Allow-Origin

CORS support

2019-12-16 Thread Alex Evonosky
Hello Haproxy group- migrating from haproxy 2.0 to 2.1 and noticed some directives changed: === 2.0.10 === capture request header origin len 128 http-response add-header Access-Control-Allow-Origin %[capture.req.hdr(0)] if { capture.req.hdr(0) -m end aiqwest.com } http-response add-header