Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx configuration

$
0
0
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!! :)

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>