OpenResty Architecture
Understand how ngx_lua embeds LuaJIT in Nginx request phases.
What Is OpenResty?
OpenResty is a web platform that embeds LuaJIT into Nginx. It turns Nginx into a full-featured web application server where Lua code handles requests.
ngx_lua Module
The ngx_lua module integrates LuaJIT into Nginx. It provides the ngx.* API for accessing request/response data, timers, shared memory, and cosockets.
All lessons in this course
- OpenResty Architecture
- Handling HTTP Requests in Lua
- Cosockets and Non-Blocking TCP
- Shared Memory Dictionaries