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
This seems to work;

location / {
set $keepalive_timeout '';
root html;
[...]
set_by_lua $notused '
ngx.var.keepalive_timeout = ngx.var.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>