e.g. in /etc/nginx/sites-enables/mysite.conf
servernames somesite.example.com othersite.on.example2.com
This will throw the following error:
Starting nginx: nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
To fix this, just increase the number in nginx.conf
server_names_hash_bucket_size 128;Depending on how many sites you have as aliases, you might need the value to be higher or lower than 128