Max File Size Allowed In Cache
    martinproinity 
    nginx-forum at nginx.us
       
    Wed Oct  1 03:38:59 UTC 2014
    
    
  
Thanks Maxim. Is it possible the filter on a value "larger than" or "smaller
than"? How would the regex in the map block look like? e.g. smaller than
1000000?
I tried something like this, which is not working:
map $upstream_http_content_length $docache {
        default         0;
        "~*([1-9][0-9]{0,6}|1000)$" 1;
}
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253260,253652#msg-253652
    
    
More information about the nginx
mailing list