try this but too much restriction, probaly gonna use this safety in the future though
This commit is contained in:
@@ -31,7 +31,7 @@ data:
|
||||
$http_upgrade $connection_upgrade {\n\t\tdefault upgrade;\n '' close;\n\t}\n\n\tgeoip2
|
||||
/data/dbip-country-lite-2026-01.mmdb{\n\t\t$geoip2_data_country_iso_code country
|
||||
iso_code;\n\t $geoip2_data_city_name city names en;\n\t $geoip2_data_country_name
|
||||
country names en;\n\t}\n \n\tmap $geoip2_data_country_iso_code::$ssl_client_verify
|
||||
country names en;\n\t}\n \n\tmap $geoip2_data_country_iso_code:$ssl_client_verify
|
||||
$allowed_country {\n\t\tdefault no;\n\t\tFR\tyes; # Allow France\n\t\tGB\tyes;
|
||||
# Allow UK\n \"~:SUCCESS$\" yes; # Allow anyone with a valid
|
||||
certificate (regardless of country)\n #NL yes; # Allow netherland\n\t\t#IN\tyes;
|
||||
|
||||
Reference in New Issue
Block a user