By Simmoniz
Hi,
Does anyone has successfully installed the nginx-push-stream-module in a LEMP droplet?
I need to implement a push / stream service. I decided to get an ubuntu LEMP server and install the nginx push stream module hosted by Wandenberg. I followed the Install it by yourself tutorial section written in official nginx documentation here. But the example builds a completely new nginx instance. It also does not work. I followed the instruction properly. Built and run properly. But I got an error unknown directive “push_channel_group”, which is the first “push stream” instruction nginx interprets in server config.
Is there a cleaner way to add nginx-push-stream-module in my LEMP nginx droplet’s instance, or I have to re-build nginx like it says in the documentation? Does building a new nginx instance would interfere with the default nginx instance in my droplet?
I’m a bit confused. And also relatively new with linux OS.
Thank you for your help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Nginx did not release dynamic module loading until the recent 1.9.11 release:
Up until now, if you wanted to create a module for NGINX you had to compile it into an NGINX binary along with the NGINX source code. The module was loaded with NGINX every time, whether you wanted it or not. For packagers of operating system distributions, this made it very hard to create custom NGINX binaries for every user.
So unfortunately for earlier versions, there isn’t a cleaner way than rebuilding Nginx altogether. If you are using a new enough version, converting it to be a dynamic module is fairly straightforward.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.