Update Setting up an HLS Broadcast server with NGINX

rainbow napkin 2025-03-19 02:14:47 +00:00
parent ee26077e97
commit 7c14a77a52

@ -8,13 +8,11 @@
## RTMP Server Configuration ## RTMP Server Configuration
The first part of this server config handles ingesting the raw RTMP datastream and converting to a series of files which can be fetched via web request, as the HLS protocol perscribes. The first part of this server config handles ingesting the raw RTMP datastream and converting to a series of files which can be fetched via web request, as the HLS protocol perscribes.
1.Edit open `/etc/nginx/nginx.conf` 1. Edit open `/etc/nginx/nginx.conf`
2.Add the following block to your `nginx.conf`: 2. Add the following block to your `nginx.conf`:
## Web Server Configuration ## Web Server Configuration
This part of the configuration handles setting up the web server which serves the files that make up the HLS stream. This part of the configuration handles setting up the web server which serves the files that make up the HLS stream.
1. Edit `/etc/nginx/sites-available/default` or create a new site config
1.Edit `/etc/nginx/sites-available/default` or create a new site config
<sup>Remember to create a symlink and move/delete the default if you create a new file!</sup> <sup>Remember to create a symlink and move/delete the default if you create a new file!</sup>