How To Set Up a Video Streaming Server using Nginx-RTMP

There are many use cases for streaming video. Service providers such as Twitch have become very popular for handling the community management aspects of streaming, and free software such as OBS is widely used for combining video from multiple stream sources. While these platforms are very powerful, in some cases you may want to be able to host a stream that does not rely on other service providers. In this tutorial, you will learn how to use Nginx to host an independent RTMP video stream.

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel