From af5bce106948694c80b1b2be18848a53d0afc8c3 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 26 Mar 2026 17:16:31 +0100 Subject: [PATCH] added Germany 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 e6ac11d..f423163 100644 --- a/gitea-system/gitea.yaml +++ b/gitea-system/gitea.yaml @@ -217,6 +217,7 @@ metadata: 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; } + if ($geoip2_country_code = "DE") { set $geo_allowed 1; } if ($geo_allowed = 0) { return 403 "Access restricted to Hungary"; }