I’m setting up a new server. The HTTP server I selected is nginx. I already have 2 domains. It works normally, but when I try to add the above domain and start the server, the following error is reported
nginx: [emerg] could not build server_names_hash, you should increase server_nam
es_hash_bucket_size: 32
Directly in nginx Add the following code to
HTTP
of conf
server_names_hash_bucket_size 512;
Similar Posts:
- Nginx -T Error: server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size
- [Solved] nginx no resolver defined to resolve..
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- nginx Server Start Error: nginx: [emerg] open() “/var/run/nginx/nginx.pid” failed (Linux Restart)
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- Composite graph + cookie free domains
- Solution of [errno 5] input / output error after Django is deployed on nginx
- Nginx normal user startup configuration error: && springboot-swagger & Unable to infer base url
- [Solved] nginx Error: directory index of “/home/www/hexo/” is forbidden