My bash script to compile the lastest nginx mainline release from source is now available on Github
Do not use it in production without running tests on a staging server first
The most part of my servers (Ubuntu 16.04 LTS) are running with this compiled nginx version.
Nginx current version : 1.13.7
others modification :
- ngx_pagespeed (optional)
Error during the compilation
1) Run the pre-compilation part with this script :
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/nginx-ee/master/debug/pre-compile.sh)
2) If there is no error during the first part, launch the compilation configuration :
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/nginx-ee/master/debug/configure.sh)
Then open an issue on github or answer here with error logs and informations about your server.