手頭有塊板子,上面起了nginx配置了多個域名,啓動的時候發現報錯:
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
大致意思說是域名build不了了,因爲空間不夠,需要increase域名的size。
這裏是官方的解釋:
http://nginx.org/en/docs/http/ngx_http_core_module.html#server_names_hash_bucket_size
還有中文的
https://wiki.archlinux.org/index.php?title=Nginx_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)&mobileaction=toggle_view_mobile