This little script compiles Nginx from source with Brotli support.
- Debian 9
- Ubuntu 16.04 and Ubuntu 18.04
It compiles Nginx from source and creates two .deb
files...
- nginx_version~os_arch.deb
- nginx-dbg_version~os_arch.deb
Both files depend on each other. So, one can not work, if other is not installled.
Once you have the .deb
files, install them using sudo dpkg -i nginx*.deb
.
Download the script, go through what it does and execute it under the user with sudo privilege. It may take a while to compile depending on the memory and CPU in your server.