Skip to content

cramaboule/web_interface_nginx_restream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web interface for nginx restream server

web interface

Simple web interface (with bootstrap) to change Facebook and Youtube streamkey with basic password in Apache module .htaccess for raspberry pi restrem server. (works on my 3b+)

  1. Setup a RTMP restream server with stunnel (for Facebook live), you can follow this tuto for Raspberry pi: https://gist.github.com/xiCO2k/e378be37e933b3f5c6c106ba149f34af
  2. Add basic Authentication in Nginx: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
  3. Now it is time to setup the web interface: In your /etc/nginx/nginx.conf, add the following in the include section: include /var/www/html/stream/restream.conf; (for www.exemple.com/stream) or wherever you put your restream.conf file.
  4. Put all files to the root of your server (or in subfolder /var/www/html/stream/ for (www.exemple.com/stream), rename htaccess to .htaccess.

Et Voilà !

On OBS:

Service: Custom
Server: rtmp://<<ngnix server IP address>>/live
Stream Key: test

I even set an Dynamics DNS with my provider with ddclient, and NAT, thus accessible from anywhere: https://samhobbs.co.uk/2015/01/dynamic-dns-ddclient-raspberry-pi-and-ubuntu

I set up as well a Let's Encrypt certificate : https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/

Enjoy

C.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published