By surabhidixit
i install nginx as sugested in your steps now i want to add rtmp in config file for live streaming but it gives me error that you can ass rtmp in config what to do?
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!
Which guide did you follow? What error do you get? The RTMP module is not installed by default and requires a different configuration: https://github.com/arut/nginx-rtmp-module
If you used apt-get -y install nginx to install NGINX, this module wouldn’t be compiled by default as it’s a third-party module. Unless the module provides a repo package that will prevent you from doing a source compile, you would need to compile NGINX from source to add that module in.
I’ve actually been working on a few auto-installers and NGINX is one of them. You’d need to modify the source of the installer and add an --add-module= line to it and clone the repo so that you have a source for the module, but beyond that, the installer will take care of the rest for you.
That being said, the installer is ideally meant for a fresh OS deployment where NGINX is not already installed as it’s a full source compile installer (with example configurations), so if you wanted to use it, I’d recommend starting with a fresh or re-imaged Droplet with nothing more than a barebones OS installation (Ubuntu 16.04 or 16.10).
I’m in the process of testing the latest updates to the installer, though once it’s ready, I’ll reply back and let you know how to go about modifying the installer to install the module.
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.