unknown directive "server_names_hash_bucket_size:"
Валентин Бартенев
vbart at nginx.com
Wed Oct 15 08:51:02 UTC 2014
On Wednesday 15 October 2014 12:03:01 Aleksandr Sytar wrote:
> [!] root at UVM-PG-PROD-TEST at nginx >:/ sudo apt-get install nginx
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> nginx
> 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
> Need to get 0 B/384 kB of archives.
> After this operation, 1 005 kB of additional disk space will be used.
> Selecting previously unselected package nginx.
> (Reading database ... 61375 files and directories currently installed.)
> Preparing to unpack .../nginx_1.6.2-1~trusty_amd64.deb ...
> ----------------------------------------------------------------------
>
> Thanks for using nginx!
>
> Please find the official documentation for nginx here:
> * http://nginx.org/en/docs/
>
> Commercial subscriptions for nginx are available on:
> * http://nginx.com/products/
>
> ----------------------------------------------------------------------
> Unpacking nginx (1.6.2-1~trusty) ...
> Processing triggers for ureadahead (0.100.0-16) ...
> Setting up nginx (1.6.2-1~trusty) ...
> nginx: [emerg] could not build the server_names_hash, you should
> increase server_names_hash_bucket_size: 32
> invoke-rc.d: initscript nginx, action "start" failed.
>
> [!] root at UVM-PG-PROD-TEST at nginx >:/ sudo service nginx restart
> * Restarting nginx nginx
>
> nginx: [emerg] unknown
> directive "server_names_hash_bucket_size:" in /etc/nginx/nginx.conf:43
> nginx: configuration file /etc/nginx/nginx.conf test failed
>
>
> Что ему нужно и как побороть?
>
[..]
Есть директива "server_names_hash_bucket_size" , а такой директивы,
как "server_names_hash_bucket_size:" - не существует.
--
Валентин Бартенев
Подробная информация о списке рассылки nginx-ru