Archive for April, 2008

server_names_hash in nginx

Just a quickie if anyone else bangs into the error below when trying to start nginx..

could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

Within the http block of the nginx config file make sure you have the server_names_hash_bucket_size set higher than the minimum 32. Have a look at the docs here. Example below..

http {
  server_names_hash_bucket_size 64;
}

April 07 2008 | Nginx | 1 Comment »