When restarting nginx, suddenly I came accross this error message:
could not build the server_names_hash hash, you should increase server_names_hash_bucket_size: 32
Now, that's solved pretty easily - by increasing server_names_hash_bucket in config file to a bigger value. According to author, Igor Sysoev, even p4 can easily handle value of a 128.
So I put
server_names_hash_bucket_size 128;
in nginx.conf, and everything works fine.
Tuesday, December 25, 2007
nginx could not build the server_names_hash hash
Subscribe to:
Post Comments (Atom)
3 comments:
I wasn't sure if there was a certain place you had to put that or not, thanks for the help. My nginx works now haha!
thanks a lot for this solution !!
Post a Comment