Failed to start Nginx on server

you should increase server_names_hash_bucket_size: 64

Why don’t you do as suggested by the error message itself?

Try using 128. Here is the relevant documentation for the variable you have to increase:

http://nginx.org/en/docs/http/ngx_http_core_module.html#server_names_hash_bucket_size