Shell script for compiling latest nginx from source.
cd /usr/local/src
git clone https://github.com/Fleshgrinder/nginx-compile.git
sh nginx-compile/compile.sh
The following features and modules are part of the resulting nginx build:
- On-the-fly upgrading of nginx
- IPv6 support
- GZip static module
- SSL module
- SPDY module
- Custom OpenSSL with
enable-ec_nistp_64_gcc_128
option and heartbeat disabled. - Latest PCRE with JIT.
- Asynchronous I/O.
- HTTP Accept-Language module
- Google PageSpeed module
- LSB compliant SysVinit script
- Implement BoringSSL compilation support.
- Implement LibreSSL compilation support.
- Write tests with shunit2
- Implement
rollback.sh
script. - Extend the
quit-old.sh
script. - Extend the main script and allow passing various options via command line.
- Add an option to print the current default values.
- Maybe write the whole thing with another language which is more powerful. For instance, a C program with a JSON configuration file and more command line options. Or perhaps something with node.js?
Other repositories of interest:
This is free and unencumbered software released into the public domain.
For more information, please refer to http://unlicense.org