Welcome! Log In Create A New Profile

Advanced

Re: Whitelisting Req/Conn Limiting

B.R.
June 01, 2014 08:12AM
I am glad my explanations were clear enough, though I doubt I said more
than the docs which, again, seem pretty clear to me.
You could make suggestions on how to improve the docs by quoting what you
think would gain to be rephrased better.

Based on my previous advice, you already know that using 'if' is avoidable
and recommended.
What do you think you could change to match your new needs?
At which level does the check should be done?
How to use variables to make only targeted environments affected by you
contional statement?

You could search archives of the ML on the forum you are using since map
configuration are a recurring question, and your use case has been
addressed multiple times in the past.

To increase your chances to gain help, please provide:
- details on the process you followed
- relevant bits of the configuration you achieved which bother you
- intel about searches/thinking you made
- precise questions/wondering you have
---
*B. R.*


On Sun, Jun 1, 2014 at 11:02 AM, SupaIrish <nginx-forum@nginx.us> wrote:

> Thanks for the reply
>
> 1) Your explanation clarified my misunderstanding, much appreciated.
>
> 2) Your suggestion would make a lot of sense. But after reading your
> response, I realized I wrote the check wrong in my example. I'm trying to
> whitelist an inbound request from a specific server, not one that Nginx is
> serving. Instead of $hostname I should be using $remote_addr and the IP of
> the remote server I'm attempting to whitelist from the throttling. i.e.
>
> if ( $remote_addr = XX.XXX.XXX.XXX ) {
> set $whitelist 1;
> }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,250510,250530#msg-250530
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Whitelisting Req/Conn Limiting

SupaIrish May 30, 2014 07:18PM

Re: Whitelisting Req/Conn Limiting

SupaIrish May 30, 2014 07:18PM

Re: Whitelisting Req/Conn Limiting

B.R. May 30, 2014 10:20PM

Re: Whitelisting Req/Conn Limiting

SupaIrish June 01, 2014 05:02AM

Re: Whitelisting Req/Conn Limiting

B.R. June 01, 2014 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready