Skip to content
Now boarding New: every course now has a coding preview video — five lines, C++ to SAS. See new lines Code WELCOME10 takes 10% off your first ticket · 14-day refund

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
  • 104 students
  • English
  • Updated Oct 2026
Coding preview Lua for Nginx: Scripting with OpenResty

The route

Curriculum

5 modules · 19 lessons · 3h 18m of video

  1. 1

    OpenResty fundamentals

    4 lessons

    39m
  2. 2

    Rate limiting

    4 lessons

    42m
  3. 3

    Authentication gateway

    4 lessons

    44m
  4. 4

    Edge caching

    4 lessons

    41m
  5. 5

    Testing and profiling

    3 lessons

    32m

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 board

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.

Frequently asked questions

Still unsure about something? Write to our contact page and a human answers, usually the same working day.

Advanced. It assumes solid everyday experience with the language.

No. You pay once and keep lifetime access, including every future update to this course.

Yes. The preview video at the top of this page shows real code from the course being written and run.

Checkout is handled on our provider's secure payment page. The moment your payment clears we email your personal access link and access code to the address you used at checkout, and the same link appears in your account library. There is nothing to install and nothing to wait for.

Email within 14 days of your purchase, quote your order number, and we refund the full amount to your original payment method. No form to fill in and no questions about how much of the course you watched.

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.

€65 EUR

One-time payment · lifetime access

Timetable updates

New lines, first. One email when something departs.

Release notes for new courses and major updates to the ones you own, plus launch fares for subscribers. No digest padding, unsubscribe in one click.

By subscribing you agree to our Privacy Policy.