Хм..
[code]
http {
.....
geo $is_local {
default 0;
10.0.0.0/8 1;
172.16.0.0/12 1;
192.168.0.0/16 1;
}
.....
server {
if ($is_local = 0) {
limit_rate 16k;
}
if ($is_local = 1) {
limit_rate 1024k;
}
.....
}
}
[/code]
Ругается
[emerg]: "limit_rate" directive is not allowed here