July 2016
Beginner
320 pages
6h 32m
English
NGINX is extensible to handle varying use cases. In this chapter, we'll be exploring some possibilities of extending NGINX with Lua, an embedded scripting language designed for just such a purpose. The topics we'll be covering include the following:
ngx_lua moduleSimilar in intent to the included perl module, the third-party ngx_lua module was made to cover use cases that couldn't be solved with configuration alone. Due to its embeddable design and coroutine (green threading) implementation, Lua serves this purpose well because it doesn't block an entire worker as the perl module can.
The OpenResty project (https://openresty.org/) is the official source ...
Read now
Unlock full access