Thanks appreciated your response.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,291069,291077#msg-291077
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Sat, Mar 27, 2021 at 06:34:54AM -0400, blason wrote:
> Oh Ok -
>
> Thanks for the pointer and if my understanding is clear then define
> map $geoip_country_code $allowed_country_A
> map $geoip_country_code $allowed_country_B
> map $geoip_country_code $allowed_country_C
>
> under http section
details: https://hg.nginx.org/njs/rev/63f8aa50e03a
branches:
changeset: 1622:63f8aa50e03a
user: Dmitry Volyntsev
date: Sat Mar 27 16:21:21 2021 +
description:
Modules: added js_var directive.
diffstat:
nginx/ngx_http_js_module.c | 99
details: https://hg.nginx.org/njs/rev/309e073c873d
branches:
changeset: 1621:309e073c873d
user: Dmitry Volyntsev
date: Sat Mar 27 16:45:52 2021 +
description:
Version bump.
diffstat:
src/njs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff
Oh Ok -
Thanks for the pointer and if my understanding is clear then define
map $geoip_country_code $allowed_country_A
map $geoip_country_code $allowed_country_B
map $geoip_country_code $allowed_country_C
under http section in /etc/nginx/nginx.conf
and then use
if ($allowed_country_A = no) in
On Sat, Mar 27, 2021 at 04:09:29AM -0400, blason wrote:
Hi there,
> I need to implement geoip blocking but what I understood from the document
> is
> map $geoip_country_code $allowed_country variable to has to be set in http
> section and then
> if ($allowed_country = no) {
> return 444;
>
On Thu, Mar 25, 2021 at 03:48:41PM -0500, Andy Meadows wrote:
Hi there,
> using nginx open source, is there an option to provide a custom rate limit
> by user agent, http header value, or an API key? Looking for the best
> option to provide custom rate limits to named users, but the traffic is
Hi Team,
This is nginx 1.19.5
I have reverse proxy server where I am hosting around 20 sites behind nginx
reverse proxy server. This reverse proxy server only used for reverse proxy
purpose and no local web server is running on it.
I need to implement geoip blocking but what I understood from