Tag Archives: server_names_hash_bucket_size

server_names_hash, you should increase server_names_hash_bucket_size

I was trying to start fresh installation of nginx, but nginx wasn’t staring….

We must always read the logs!

root@pornrack:/etc/nginx/sites-enabled# tail -f /var/log/nginx/error.log

This was I was getting on it…

2013/11/17 10:56:34 [emerg] 12362#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

Easy! I searched for server_names_hash_bucket_size on  /etc/nginx/nginx.conf and uncommented that line…