Hacker News new | past | comments | ask | show | jobs | submit login

Here is some example auth code for Amazon services in Lua for Nginx I wrote ages ago, which might help get an idea of what the code might look like https://gist.github.com/948423

It is very fast doing that type of stuff in Lua, and it all gets done in the same request context.

There is some new functionality in openresty since that example, so there are probably other choices of ways to implement it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: