diff --git a/gitea-system/gitea.yaml b/gitea-system/gitea.yaml index 7ca3b39..4d356b0 100644 --- a/gitea-system/gitea.yaml +++ b/gitea-system/gitea.yaml @@ -218,6 +218,7 @@ metadata: if ($remote_addr ~ "^10\.") { set $geo_allowed 1; } if ($geoip2_country_code = "HU") { set $geo_allowed 1; } if ($geoip2_country_code = "DE") { set $geo_allowed 1; } + if ($geoip2_country_code = "US") { set $geo_allowed 1; } if ($geo_allowed = 0) { return 403 "Access restricted to Hungary"; }