trying the certifcate check as well
This commit is contained in:
+2
-1
@@ -64,10 +64,11 @@ http {
|
||||
$geoip2_data_country_name country names en;
|
||||
}
|
||||
|
||||
map $geoip2_data_country_iso_code $allowed_country {
|
||||
map $geoip2_data_country_iso_code::$ssl_client_verify $allowed_country {
|
||||
default no;
|
||||
FR yes; # Allow France
|
||||
GB yes; # Allow UK
|
||||
"~:SUCCESS$" yes; # Allow anyone with a valid certificate (regardless of country)
|
||||
#NL yes; # Allow netherland
|
||||
#IN yes; # Allow India
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user