could not build the server_names_hash, you should increase server_names_hash_bucket_size


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild » CustomBuild 2.0 » Nginx

could not build the server_names_hash, you should increase server_names_hash_bucket_sizeLast Modified: May 24, 2013, 2:45 am
If you see this error

could not build the server_names_hash, you should increase server_names_hash_bucket_size

use these config options:

server_names_hash_bucket_size 128;
server_names_hash_max_size 1024;




If your php pages generate a 502 error, eg:

/home/***/.php.sock failed (111: Connection refused) while
connecting to upstream, client: *****, server: ****, request: "GET ****,
upstream: "fastcgi://unix:/home/***/.php.sock:"

reported configs for solution:

fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;


© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST