Re: Re: lua code in log_by_lua_file not executed when the upstream server is down

2017-12-03 Thread tongshus...@migu.cn
Yes,it's of after the error_page directive removed. Tong From: Zhang Chao Date: 2017-12-04 11:26 To: nginx Subject: Re: lua code in log_by_lua_file not executed when the upstream server is down Hi! I think you should paste this issue to the openresty mail list https://groups.google.com/foru

Re: How to control the total requests in Ngnix

2017-12-03 Thread Peter Booth
I’m a situation where you are confident that the workload is coming from a DDOS attack and not a real user. For this example the limit is very low and nodelay wouldn’t seem appropriate. If you look at the techempower benchmark results you can see that a single vote VM should be able to serve ov

Re: lua code in log_by_lua_file not executed when the upstream server is down

2017-12-03 Thread Zhang Chao
Hi! I think you should paste this issue to the openresty mail list https://groups.google.com/forum/#!forum/openresty-en For this problem, have you configured any error_page directives? the error_page will trigger an internal redirect. On 1 December 2017 at 21:10:12, tongshus...@migu.cn (tongshu

Re: How to control the total requests in Ngnix

2017-12-03 Thread Gary
For what situation would it be appropriate to use "nodelay"?   Original Message   From: fran...@daoine.org Sent: December 2, 2017 3:02 AM To: nginx@nginx.org Reply-to: nginx@nginx.org Subject: Re: Re: How to control the total requests in Ngnix On Fri, Dec 01, 2017 at 11:18:06AM +0800, tongshus.