trying the certifcate check as well

This commit is contained in:
2026-03-19 23:05:37 +00:00
parent f96e93eab1
commit 1ea92b8e6d
14 changed files with 249 additions and 29 deletions
+2 -1
View File
@@ -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
}