OpenResty is packaged for the easy installation of most Linux distributions, but there are binary packages for both Windows and OS X available as well. As most production deployments will predominantly be Linux-based, we'll concentrate on Linux for our recipe.
Installing OpenResty
Getting ready
If you have NGINX already installed, you'll need to uninstall it first to remove any other conflicts.
How to do it...
Official repositories exist for most major Linux installations, but we'll focus on just CentOS 7 and Ubuntu 16.04 LTS to cover the two most common...