Update NGINX

arazit

Verified User
Joined
Aug 20, 2008
Messages
199
Hello,
I get this errro after update nginx by ./build update_versions

Gracefully shutting down php-fpm54: . done
Starting php-fpm54: done
Restarting nginx.
nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 10240 or server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Stopping nginx: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 10240 or server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size

Starting nginx: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 10240 or server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size
[ OK ]


I run ./build rewrite_confs but get same error.
Thanks
 
These are only warnings, please try using 128 for server_names_hash_bucket_size (default):
Code:
cd /usr/local/directadmin/custombuild
./build update
./build rewrite_confs

If that doesn't help, please increase server_names_hash_max_size to a higher number.
 
Maybe you should consider to set 128 as default for server_names_hash_bucket_size for custombuild.
 
cd /usr/local/directadmin/custombuild
./build update
./build rewrite_confs

Starting nginx: nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 10240 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 10240 or server_names_hash_bucket_size: 128; ignoring server_names_hash_bucket_size
 
Back
Top