nginx: [emerg] could not build the server_names_hash

手頭有塊板子,上面起了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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章