0Pricing
Lua Academy · Lesson

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

  1. OpenResty Architecture
  2. Handling HTTP Requests in Lua
  3. Cosockets and Non-Blocking TCP
  4. Shared Memory Dictionaries
← Back to Lua Academy