Lua for Nginx: Scripting with OpenResty
Program Nginx with Lua — rate limiting, authentication, caching and routing at the edge with OpenResty.
- Advanced
- 19 lessons · 3h 18m of video
- English
- Updated Oct 2026
The route
Curriculum
5 modules · 19 lessons · 3h 18m of video
-
1
39m
OpenResty fundamentals
4 lessons
-
2
42m
Rate limiting
4 lessons
-
3
44m
Authentication gateway
4 lessons
-
4
41m
Edge caching
4 lessons
-
5
32m
Testing and profiling
3 lessons
Destination
What you will be able to do
- Understand Nginx request phases in OpenResty
- Share state with lua_shared_dict
- Build a rate limiter and auth gateway
- Cache responses at the edge
- Test and profile Lua inside Nginx
Before you buy
You will need
- Comfortable Lua
- Basic Nginx configuration
About this course
The journey
OpenResty embeds Lua inside Nginx, so you can make routing, security and caching decisions at the edge in microseconds. This course teaches the request phases, shared dictionaries, cosockets and the libraries that make it production-ready.
You build a rate limiter, a token-checking gateway, a cache with stale-while-revalidate and a small A/B router, and learn how to test and profile Lua running inside Nginx.
How this course is made
This course was created by KOODIJAAM OÜ using AI tools: the lessons, exercises and example code are AI-generated, and the preview video is generated automatically from the course code.
You can watch the preview and read the full lesson list on this page before you buy. If you find a mistake, tell us — we fix it, and the fix reaches everyone who owns the course.
Information desk
Frequently asked questions
Still unsure about something? Write to support@koodijaam.com and a human answers, usually the same working day.
What students say
No reviews yet
Nobody has reviewed this course yet, so there is no score to show. Buy it, work through it, and your review could be the one that helps the next developer decide.
Roblox, Luau, SAS, Microsoft, .NET, Blazor, Avalonia, Neovim, NGINX, OpenResty, LÖVE, PyTorch, NumPy and other product names are trademarks of their respective owners. Koodijaam is an independent course provider and is not affiliated with or endorsed by them.
One-time payment · no expiry