Welcome! Log In Create A New Profile

Advanced

Nginx configuration

Posted by manolis 
Nginx configuration
November 11, 2013 05:13PM
Dear All,


I am new in nginx community and I just started using nginx. I try to set up a server with nginx on it. I have set two virtual hosts and when I try to restart the server I get the following error:

[emerg] 12299#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

When I try to set the server_names_hash_bucket_size in the nginx.conf file in the http section, it says that server_names_hash_bucket_size is an unknown directive.

I am working on centOS 6.4 on a private server. I have set up the virtual hosts in th nginx.conf file.

Please, help me with this because according to the tutorials and guides I have seen so far, I cannot understand wht I am doing wrong..

Thanks!! :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready