Alfredo De Luca
2018-10-11 08:05:47 UTC
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
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*