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
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;
>
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