Skip to content

Instantly share code, notes, and snippets.

@shivasiddharth
Created June 21, 2020 13:41
Show Gist options
  • Save shivasiddharth/5da06159026cacc18c28a0b077500272 to your computer and use it in GitHub Desktop.
Save shivasiddharth/5da06159026cacc18c28a0b077500272 to your computer and use it in GitHub Desktop.
Script to compile Nginx with RTMP module
#!/bin/bash
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git
sudo apt-get -y install build-essential libpcre3 libpcre3-dev libssl-dev
wget http://nginx.org/download/nginx-1.18.0.tar.gz
tar -xf nginx-1.18.0.tar.gz
cd nginx-1.18.0
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module
make -j 1
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment