aboutsummaryrefslogtreecommitdiff
path: root/roles/webserver
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 23:31:51 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 23:31:51 +0100
commit8720a709b69d4f5c769beca79998d142b8278a34 (patch)
treecc47b5b151c3b186d2104505ebd4c5589a65ad14 /roles/webserver
parent421d8d1aa0ba348eac175b49213dd19a8fd1d668 (diff)
downloadansible-memzero-8720a709b69d4f5c769beca79998d142b8278a34.tar.gz
ansible-memzero-8720a709b69d4f5c769beca79998d142b8278a34.zip
nginx: add config to increate server names hash bucket
Diffstat (limited to 'roles/webserver')
-rw-r--r--roles/webserver/files/user_conf.d/server_names_hash_bucket_size.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/webserver/files/user_conf.d/server_names_hash_bucket_size.conf b/roles/webserver/files/user_conf.d/server_names_hash_bucket_size.conf
new file mode 100644
index 0000000..50016af
--- /dev/null
+++ b/roles/webserver/files/user_conf.d/server_names_hash_bucket_size.conf
@@ -0,0 +1,2 @@
+# https://stackoverflow.com/questions/13895933/nginx-emerg-could-not-build-the-server-names-hash-you-should-increase-server
+server_names_hash_bucket_size 64;