added local access to opengist
This commit is contained in:
@@ -173,6 +173,8 @@ metadata:
|
||||
set $geo_allowed 0;
|
||||
|
||||
# Allow all Hungarian traffic
|
||||
if ($remote_addr ~ "^192\.168\.") { set $geo_allowed 1; }
|
||||
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }
|
||||
if ($geoip2_country_code = "HU") {
|
||||
set $geo_allowed 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user