diff --git a/nginx.conf b/nginx.conf index eee40bb..732dd42 100755 --- a/nginx.conf +++ b/nginx.conf @@ -61,13 +61,17 @@ http { } map $geoip2_data_country_iso_code $allowed_country { - default yes; - IN no; + default no; + #NL yes; # Allow netherland + FR yes; # Allow France + UK yes; # Allow UK + NL no; # Block netherland + IN no; # Block India CN no; # Block China RU no; # Block Russia KP no; # Block North Korea } - + # Full list of country codes: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes include /etc/nginx/deny.d/*.conf; include /etc/nginx/conf.d/*.conf; include /etc/nginx/blacklisted.d/*.conf;