Nginx image processing server with OpenResty and Lua

leafo Tweet Follow @moonscript Nginx image processing server with OpenResty and Lua on Fri Sep 20 2013 09:40:00 Today I'll be showing you how to create a fast on the fly image processing server. The whole system can be created in less than 100 lines of code. We'll be using OpenResty , an enhanced distribution of Nginx. We'll also need to write a little bit of Lua to get all the functionality we want. Lastly, we'll be using this Lua ImageMagick binding . If you're not familiar with any of these that’s OK, I'll be showing you how to get everything running from scratch. The code nginx.conf serve_image.lua What’s an image processing server? Initial thoughts Installation requirements Nginx configuration Lua script Running the server Final notes Because the entire system isn’t that many lines of code I'll show everything first and you can read on if you want to learn ...

Linked on 2015-01-26 21:21:55 | Similar Links