Thanks heaps Aleksander. Appreciated. I saw the typo so no worries for
that. I ll put it on your  conf and see how it goes.
Cheers



On Thu, Oct 11, 2018 at 10:05 AM Alfredo De Luca <[email protected]>
wrote:

> Hi all.
> Not sure how to do this but I need to limit a file size to be uploaded on
> our haproxy (HA-Proxy version 1.5.18).
>
> This is what I ve done so far... but not sure it's the right thing to do.
>
>
> acl fileweightlimit hdr_val(content-lenght) gt 104857600
>   acl hdfsupload hdr(host) <site> and path_beg /hdfs/proxy
>
>   http-request deny if hdfsupload fileweightlimit
>
>
> Cheers
>
> --
> *Alfredo*
>
>

-- 
*Alfredo*

Reply via email to