Skip to content

Instantly share code, notes, and snippets.

@alksily
Created March 1, 2019 12:18
Show Gist options
  • Save alksily/b0541fbe8b1f34ce7795e4a5f4840cb0 to your computer and use it in GitHub Desktop.
Save alksily/b0541fbe8b1f34ce7795e4a5f4840cb0 to your computer and use it in GitHub Desktop.
Nginx with Push Stream Module
deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx
wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key && rm nginx_signing.key
cd /tmp
apt-get update
apt-get source nginx
apt-get build-dep nginx
git clone https://github.com/wandenberg/nginx-push-stream-module.git
cd nginx-1.4.2/
mcedit debian/rules

After all --with-http_*_module add line --add-module=../nginx-push-stream-module \

dpkg-buildpackage -b
cd ..
dpkg -i nginx_1.4.2-1~squeeze_amd64.deb
nginx -V
apt-mark hold nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment