Added "server_names_hash_bucket_size  64;" to nginx.conf to fix error.