Limit serving to responses only below certain size

2013-03-06 Thread Calin Don
Hi, Is there a way to server files only below a certain size? eg. Return 403 on files bigger than 5MB? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Limit serving to responses only below certain size

2013-03-06 Thread Calin Don
Unfortunately the way big files are getting there is beyond my control. On Wed, Mar 6, 2013 at 5:30 PM, Jonathan Matthews cont...@jpluscplusm.comwrote: On 6 March 2013 13:28, Calin Don calin@gmail.com wrote: Hi, Is there a way to server files only below a certain size? eg. Return

Re: Limit serving to responses only below certain size

2013-03-06 Thread Bob S.
Are you saying that you do not have administrative control of your system? Jonathan is right - set policies that disallow large file sizes and enforce them. If necessary use chron to check for large files and remove them. On Wed, Mar 6, 2013 at 2:28 PM, Calin Don calin@gmail.com wrote: