level 1
系统版本为:win2003 x64
nginx版本为:1.2.6
配置如下:
http:{
.....
limit_zone one $binary_remote_addr 10m;
upstream abc {
server 192.168.10.229:10000;
}
server {
listen 80;
server_name abc;
#charset koi8-r;
access_log logs/abc.access.log;
location / {
limit_conn one 1;
limit_rate 100k;
#root html;
#index index.html index.htm;
proxy_pass abc;
#include proxy.conf;
}
}
}
错误信息如下:
2014/04/13 11:27:02 [warn] 5308#4700: the "limit_zone" directive is deprecated, use the "limit_conn_zone" directive instead in C:\nginx-1.2.6/conf/nginx.conf:20
2014/04/13 11:27:02 [warn] 5912#3556: the "limit_zone" directive is deprecated, use the "limit_conn_zone" directive instead in C:\nginx-1.2.6/conf/nginx.conf:20
2014/04/13 11:27:02 [emerg] 5912#3556: shared zone "one" has no equal addresses: 02540000 vs 02480000
2014/04/13 11:27:02 [alert] 5308#4700: worker process 5912 exited with code 1
跪求各位给小弟指点迷津.....
2014年04月13日 03点04分
1
nginx版本为:1.2.6
配置如下:
http:{
.....
limit_zone one $binary_remote_addr 10m;
upstream abc {
server 192.168.10.229:10000;
}
server {
listen 80;
server_name abc;
#charset koi8-r;
access_log logs/abc.access.log;
location / {
limit_conn one 1;
limit_rate 100k;
#root html;
#index index.html index.htm;
proxy_pass abc;
#include proxy.conf;
}
}
}
错误信息如下:
2014/04/13 11:27:02 [warn] 5308#4700: the "limit_zone" directive is deprecated, use the "limit_conn_zone" directive instead in C:\nginx-1.2.6/conf/nginx.conf:20
2014/04/13 11:27:02 [warn] 5912#3556: the "limit_zone" directive is deprecated, use the "limit_conn_zone" directive instead in C:\nginx-1.2.6/conf/nginx.conf:20
2014/04/13 11:27:02 [emerg] 5912#3556: shared zone "one" has no equal addresses: 02540000 vs 02480000
2014/04/13 11:27:02 [alert] 5308#4700: worker process 5912 exited with code 1
跪求各位给小弟指点迷津.....