From 281f6a264b22bdb7c20169dd727ff261f95691f9 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 9 Jan 2023 23:37:01 +0000 Subject: [PATCH] Increase hash bucket size for larger hostnames. --- template/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/nginx.conf b/template/nginx.conf index a4cfa4f..2ba7091 100644 --- a/template/nginx.conf +++ b/template/nginx.conf @@ -14,6 +14,8 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; + server_names_hash_bucket_size 128; + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';