Debian package source for nginx.
Includes:
- nginx from nginx/nginx
- support for SPDY
- pagespeed
See debian/rules for ./configure
options
sudo apt-get install devscripts debhelper libssl-dev libpcre3-dev zlib1g-dev
- Download upstream tarball of nginx
- Ensure this tarball is named
nginx_<version>.orig.tar.gz
- Extract tarball and rename extracted directory to
nginx-<version>
โ make sure original tarball still exists cd nginx-<version>
- Clone this repository as:
git clone https://github.com/johntron/nginx-debian.git debian
- Download and extract ngx_pagespeed to
debian/modules/ngx_pagespeed
debuild -us -uc
- builds a source package and binary package (placed in parent directory)
sudo dpkg -i nginx_<version>_<arch>.deb