Inject middleware functionality into NGINX with the expressive power of Javascript. NGINX JavaScript or NJS for short is a dynamic module under which you can use scripting for hooking into the NGINX execution model. https://www.i-programmer.info/news/87-web-development/17580-extend-nginx-with-the-new-javascript-module.html#google_vignette
A dairy of my work.Just links to the full artices on i-programmer.info