This error usually appear when you test the nginx configuration.

If you want to fix this nginx error [emerg]: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 64

Just add the following in your nginx.conf file:

http {
server_names_hash_max_size 512;
server_names_hash_bucket_size 128;

...
}

Page 1 of 11