Problem serving separate domains with different certificates

Hi guys!

I followed your guide on serving separate domains with different certificates, but I’m having an issue with Nginx now. This is the error message that I’m seeing:

2014/07/16 11:19:40 [emerg] 9730#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

I’m no expert so would appreciate any help to solve this. Thank you.

Is your domain name longer than 32 characters? This is what the error message is saying. Please try to add this line to your Nginx configuration and see if that helps (ie. change the size to 64):

http {
    server_names_hash_bucket_size 64;
    ...
}

You must be logged in to answer this question