From df1d795a04ecb3e502226a1f5104ff8b68885d06 Mon Sep 17 00:00:00 2001 From: YogSottot <7411302+YogSottot@users.noreply.github.com> Date: Fri, 24 Apr 2026 13:37:58 +0300 Subject: [PATCH] fix: [emerg] could not build map_hash --- x-ui-pro.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/x-ui-pro.sh b/x-ui-pro.sh index aa2213c..837667a 100644 --- a/x-ui-pro.sh +++ b/x-ui-pro.sh @@ -235,6 +235,7 @@ ln -s /etc/letsencrypt/live/${domain}/privkey.pem /root/cert/${domain}/privkey.p mkdir -p /etc/nginx/stream-enabled cat > "/etc/nginx/stream-enabled/stream.conf" << EOF +map_hash_bucket_size 128; map \$ssl_preread_server_name \$sni_name { hostnames; ${reality_domain} xray;