Avideo: Need little help for nginx ssl

Created on 19 Feb 2020  路  3Comments  路  Source: WWBN/AVideo

Hello all,
i need a little help for my configurations for enable SSL in the nginx Live Module.
AVVideo installed and running, very nice. APACHE running with letsencrypt, no problem at all.
Now will installing nginx and use it, i have read this: https://github.com/WWBN/AVideo/wiki/Set-up-my-own-Stream-Server
But not running, i think my SSL Configuration are fail or error. Can you please help me?

Kind Regards
Ronald

Daniel: Great Work, thank you again!

wontfix

Most helpful comment

@Powerbock You need to add your SSL fullchain.pem and privkey.pem location into the config file
Giving you one example :

sudo nano /usr/local/nginx/conf/nginx.conf

http {
            include       mime.types;
            default_type  application/octet-stream;
            server {
                    listen 8080;                                                                                                                                                                                                   
                    listen 444 ssl;
                    ssl_certificate /etc/letsencrypt/live/yoursitename/fullchain.pem;                                                                                                                                    
                    ssl_certificate_key /etc/letsencrypt/live/yoursitename/privkey.pem;
                    server_name yoursitename.com;                                                                                                                                                                            
                    #creates the http-location for our full-resolution (desktop) HLS stream - "http://my-ip/live/my-stream-key/index.m3u8"
                    location /live {
                            # Disable cache
                            add_header 'Cache-Control' 'no-cache';

All 3 comments

@Powerbock You need to add your SSL fullchain.pem and privkey.pem location into the config file
Giving you one example :

sudo nano /usr/local/nginx/conf/nginx.conf

http {
            include       mime.types;
            default_type  application/octet-stream;
            server {
                    listen 8080;                                                                                                                                                                                                   
                    listen 444 ssl;
                    ssl_certificate /etc/letsencrypt/live/yoursitename/fullchain.pem;                                                                                                                                    
                    ssl_certificate_key /etc/letsencrypt/live/yoursitename/privkey.pem;
                    server_name yoursitename.com;                                                                                                                                                                            
                    #creates the http-location for our full-resolution (desktop) HLS stream - "http://my-ip/live/my-stream-key/index.m3u8"
                    location /live {
                            # Disable cache
                            add_header 'Cache-Control' 'no-cache';

Excellent, this is what i want! It's running now, with Live. Thank you very much for this hint and your support.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mikweb2017 picture mikweb2017  路  4Comments

moses268 picture moses268  路  3Comments

shebanet picture shebanet  路  4Comments

matthall1998 picture matthall1998  路  4Comments

sharad22gupta picture sharad22gupta  路  4Comments