直接去掉#号吗?
还是把他改成#limit_zone oneip $binary_remote_addr 10m;作者: ubuntu 时间: 2013-6-17 11:48
学习了,收藏!谢谢李哥分享!作者: z000a 时间: 2013-12-7 19:12 标题: "limit_zone" directive is not allowed here 提示错误:root@debian:~# /etc/init.d/nginx restartRestarting nginx daemon: nginxnginx: [emerg] "limit_zone" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:11nginx already running.
LNMP一键安装包最新版本1.0,
下面是
nginx.conf前面的 配置代码:
user www www;worker_processes 1;
error_log /home/wwwlogs/nginx_error.log
crit;pid
/usr/local/nginx/logs/nginx.pid;
#Specifies the value for maximum file descriptors that can be opened by this process.
worker_rlimit_nofile 51200;