Hello!
On Tue, Nov 19, 2013 at 12:35:19AM +, Francis Daly wrote:
> On Mon, Nov 18, 2013 at 02:49:27PM -0500, Nam wrote:
>
> Hi there,
>
> > I would like to see if it's possible to get limit_conn and limit_req
> > working with the rewrite modules if statement.
>
> Not according to the curre
On Mon, Nov 18, 2013 at 02:49:27PM -0500, Nam wrote:
Hi there,
> I would like to see if it's possible to get limit_conn and limit_req
> working with the rewrite modules if statement.
Not according to the current documentation.
I suspect that patches will be welcome, if they fit the usual criter
Can you give an example of how I would accomplish the desired if statement I
posted? I do not see how i could get map to do that myself.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,244781,244789#msg-244789
___
nginx mailing list
nginx@ngin
On 18 November 2013 20:57, Nam wrote:
> To elaborate a bit more, in a single location I may end up with something
> like this...
>
> set $Whitelisted "No";
> if ($GeoList1 = allow) {
> set $Whitelisted "Yes";
> }
> if ($GeoList5 = allow) {
> set $Whitelisted "Yes";
> }
> if ($http_user_age
To elaborate a bit more, in a single location I may end up with something
like this...
set $Whitelisted "No";
if ($GeoList1 = allow) {
set $Whitelisted "Yes";
}
if ($GeoList5 = allow) {
set $Whitelisted "Yes";
}
if ($http_user_agent ~ (googlebot|bingbot)) {
set $Whitelisted "Yes";
}
if
Hello, I would like to see if it's possible to get limit_conn and limit_req
working with the rewrite modules if statement. I have seen some discussion
about this in the mailing list already saying to use stuff like throwing a
410 code and having that 410 code handled by a @named location that handl