added local access to opengist

This commit is contained in:
2026-01-20 19:15:04 +01:00
parent 3d6500abdd
commit 59cc162bc4
+2
View File
@@ -173,6 +173,8 @@ metadata:
set $geo_allowed 0; set $geo_allowed 0;
# Allow all Hungarian traffic # 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") { if ($geoip2_country_code = "HU") {
set $geo_allowed 1; set $geo_allowed 1;
} }