Unit 1.7 release

2018-12-20 Thread Valentin V. Bartenev
Hi, I'm glad to announce a new release of NGINX Unit. This is a bugfix release with a primary focus on the stabilization of the Node.js module. We have made great progress with it, and now Node.js support is in much better shape than before. Changes with Unit 1.7

Re: Need logic to not check for bad user agent if xml file

2018-12-20 Thread Maxim Dounin
Hello! On Thu, Dec 20, 2018 at 01:42:49AM -0800, li...@lazygranch.com wrote: > I have a map to check for bad user agents called badagent. I want to > set up a RSS feed. The feedreaders can have funny agents, so I need to > omit the bad agent check if the file is any xml type. > > This is reject

Need logic to not check for bad user agent if xml file

2018-12-20 Thread li...@lazygranch.com
I have a map to check for bad user agents called badagent. I want to set up a RSS feed. The feedreaders can have funny agents, so I need to omit the bad agent check if the file is any xml type. This is rejected. if (($request_uri != [*.xml]) && ($badagent)) {return 444; } Suggestions?