Re: Haproxy mime-type block

2013-03-14 Thread Baptiste
Hi, HAProxy can't analyse DATA in your POST. But if you're able to put the file name in a HTTP header when forging the POST request, then we may help you. Baptiste On Thu, Mar 14, 2013 at 3:52 AM, Leo Raikhman wrote: > Hi, > > I run a web farm behind haproxy 1.5dev17 with native ssl. > > I was

Haproxy mime-type block

2013-03-13 Thread Leo Raikhman
Hi, I run a web farm behind haproxy 1.5dev17 with native ssl. I was wondering - is it possible for haproxy to block HTTP uploads/POST requests of file types either based on extensions (*.exe) or on mime types? If so, does anyone have an example? Cheers, John