How moltin used OpenResty and Lua to improve API performance

Just to clarify, this won't be a detailed technical guide about how you can build your own authentication layer using OpenResty + Lua, rather it is a »

OpenResty + multipart/form-data MINE type

By default multipart/form-data can't be processed by OpenResty and we need to pre process each request to be able to obtain the sent data. At »

Return JSON responses when using OpenResty + Lua

Related posts I've written few related post that may be interesting have a look to first: Returning status code with OpenResty + Lua When ngx.exit using »

Returning status code with OpenResty + Lua

If we want to return specific status codes from our Lua code we should have the following in mind: ngx.say("hello") return ngx.exit(404) »

When ngx.exit using OpenResty precede it with return

It is recommended than when using ngx.exit precede it with return to reinforce the fact that request will end. Few notes from Yichun Zhang about »

Nginx cache directory error

I just want to write down an error that I came through the other day, I could say this is one of that kind, stupid errors, »

How to tweak your URLs without lost old references with Ghost

We basically need to rewrite every request to remove the date from our URL. This is an example: »