Summary
As you saw, there is quite a lot to be gained from learning to work with Lua. The ngx_lua
module increases the possibilities of working with NGINX, turning the humble web server and reverse proxy into a full-fledged application server. We have only scratched the surface here. A full treatment of this topic would be a book in itself.
In the next chapter, we will explore troubleshooting techniques to try to get at the root of the problem when something doesn't work as expected.