Something like;
map $remote_addr $kealtime {
default 30;
~^(192.168.123.*)$ 60;
~^(192.122.222.*)$ 0;
}
[...]
keepalive_timeout $kealtime;
map $remote_addr $kealtime {
default 30;
~^(192.168.123.*)$ 60;
~^(192.122.222.*)$ 0;
}
[...]
keepalive_timeout $kealtime;