Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: conditionally disable keepalive for specific client IP address

$
0
0
Something like;

map $remote_addr $kealtime {
default 30;
~^(192.168.123.*)$ 60;
~^(192.122.222.*)$ 0;
}

[...]

keepalive_timeout $kealtime;

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>