Welcome! Log In Create A New Profile

Advanced

Re: Max File Size Allowed In Cache

September 30, 2014 11:38PM
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;
}
Subject Author Posted

Max File Size Allowed In Cache

abstein2 September 15, 2014 03:21PM

Re: Max File Size Allowed In Cache

martinproinity September 30, 2014 01:35AM

Re: Max File Size Allowed In Cache

Maxim Dounin September 30, 2014 08:06AM

Re: Max File Size Allowed In Cache

martinproinity September 30, 2014 11:38PM

Re: Max File Size Allowed In Cache

Maxim Dounin October 01, 2014 07:26AM

Re: Max File Size Allowed In Cache

martinproinity October 01, 2014 09:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready