Created
June 12, 2014 22:09
-
-
Save vladimir-e/d2d5be1bbbdced19365f to your computer and use it in GitHub Desktop.
nginx error digitalocean when adding second virtual host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service nginx configtest | |
* Testing nginx configuration [fail] | |
sudo nginx -t | |
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 | |
nginx: configuration file /etc/nginx/nginx.conf test failed | |
server_names_hash_bucket_size = 64 | |
sudo service nginx restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment