News for hackers. Stuff that matters.
Re:The Architecture of Open Source Applications: Nginx by pnommensen on Monday November 23, 2015 @05:35PM (#10617844)
Have you seen nginScript (1)? It's a syntax for embedding snippets of JavaScript in your NGINX configuration. This allows for scripting application logic into standard NGINX config files via a very common and simple language. There's some more details and simple examples at this blog post.

(1) https://www.nginx.com/blog/launching-nginscript-and-looking-...

(disclaimer: I work at NGINX)

Re:The Architecture of Open Source Applications: Nginx by nikolay on Monday November 23, 2015 @10:51PM (#10619046)
Okay, but you have to escape this in the Nginx config! Same issue with Lua! And this is terrible!
Re:The Architecture of Open Source Applications: Nginx by bungle on Tuesday November 24, 2015 @02:35AM (#10619598)
there is these days _by_lua_block.
Re:The Architecture of Open Source Applications: Nginx by nikolay on Wednesday November 25, 2015 @12:57AM (#10625587)
Thanks! This is really great:

    content_by_lua_block {
        ngx.say("hello, world")
    }