Build custom Nginx Deb Packages

Posted mayo 27th, 2012 in Blog, Operations by Martín Loy

Create a temporary folder

Download debian package source

Now you will have something similar to:

Download nginx source and extract it

Copy debian package folder to new source

Edit debian/changelog and debian/control as you wish, keep in mind they have some particular syntax/format

To add/disable modules edit debian/rules

To build the package afterwards