开始错误提示“could not build the server_names_hash, you should increase server_names_hash_bucet_size”我在http部分增加了“server_names_hash_bucket_size: 32”,但是又给出“unknown directive "server_names_hash_bucket_size”的错误提示,请问大神们需要在哪个位置添加语句呢?具体添加什么语句呢?求指点,跪谢!
一般是修改nginx.conf这个文件,修改之后,在nginx的/sbin/nginx -s reload 重新加载nginx
具体参考: