From e77090478b4185b851593c5c6ef1835b9e047f73 Mon Sep 17 00:00:00 2001 From: Albert Armea Date: Sat, 21 Mar 2026 20:10:54 +0000 Subject: [PATCH] Fix nginx map size --- nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e19dfd1..e244dc1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -25,6 +25,9 @@ http { tcp_nopush on; keepalive_timeout 65; + # Required when map values contain long encoded strings (status:body) + map_hash_bucket_size 128; + # ── GeoIP2 database ─────────────────────────────────────────────────────── # on_unavailable lets nginx start even if the .mmdb file doesn't exist yet # (e.g. first boot before geoipupdate has run). All GeoIP variables default