Draining keepalive connections during reload

2018-10-17 Thread Kamil Gorlo
Hi, according to https://trac.nginx.org/nginx/ticket/1022#comment:1 and in this mailing list archives, when there is configuration reload, keep-alive connections are closed. Is there a way to "drain" them? What I would like to have is to provide some hard limit in configuration (in seconds) to le

Total timeout for proxy_pass

2017-07-20 Thread Kamil Gorlo
Hi, is it possible to somehow configure proxy_pass (or with help with some additional module) to have total timeout for whole request to upstream (including all send/read calls + connect for non-keepalive connections)? I have use case when I need to respond with default content when my backend do

Limit number of connections to server

2017-04-04 Thread Kamil Gorlo
Hi, is there a way to limit total number of open connections per listening port in Nginx? I know that there is limit_conn module but as far as I understand it only works on "request" layer, which means connections are counted only when request headers have been already read. I have problem when n