Additional patch for Nginx based on Openresty
- Download the wanted openresty tarball from the Download page
- Unpack it like this:
tar -xzvf openresty-VERSION.tar.gz
- Fetch this repository
- Copy the 'prepatch' and 'patches' into the openresty folder
- Run the './prepatch' to apply the patches in "patches" folder
- Next follow the official guide of Openresty to install, maybe like
./configure
make
make install