From b6180e8d7948fa735dd0299c9bc4542eee425fc3 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Mon, 1 Jun 2026 08:41:32 +0200 Subject: [PATCH] added US to gitea --- gitea-system/gitea.yaml | 1 + 1 file changed, 1 insertion(+) 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"; }