if statement for Content-Length

Kingsley Foreman kingsley at internode.com.au
Sat Jan 30 15:47:54 MSK 2010

Hi Guys,

I've been trying to work out if this can be done or not with not much luck

I want to see if I can  do something like this

If (Content-Length < 1024){
	Return 403;

Im guessing this can't be done, however it would get around a caching issue I am having with large files.


More information about the nginx mailing list