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

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to