После того, как я добавил виртуальный хост на nginx, при перезапуске появилась вот такая ошибка
[email protected] [/etc/init.d]# service nginx restart 2009/06/19 12:22:17 [emerg] 4322#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 2009/06/19 12:22:17 [emerg] 4322#0: the configuration file /etc/nginx/nginx.conf test failed [email protected] [/etc/init.d]#
Для того, что бы избавиться от данной ошибки, заходим в nginx.conf:
vi /etc/nginx/nginx.conf
Находим там
http {
и добавляем после:
server_names_hash_bucket_size 64;