为了限速,在虚拟主机中加上了一个参数:
limit_conn one 1;
结果导致重启nginx报错: zero size shared memory zone "one"
解决办法是,去掉它。


至于为什么出错,可能是因为nginx并没有支持 http_limit_conn_zone模块