Janus
janus media server nginx configuration
May 01, 2020
1 min

setup janus media server behind the nginx webserver

install nginx

apt install -y nginx

nginx conf

server {
    listen 80;
    server_name janus.media.telzee.io;
    return 301 https://$host$request_uri;
}
server {
    listen 443 ssl;

    server_name janus.media.telzee.io;

        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
        ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';

    root /opt/janus-gateway/html;
    location /janus.js {
       try_files $uri /janus.js;
    }
    location /janus {
        proxy_pass         http://127.0.0.1:8888/janus;
    }
}

Tags

januswebrtc

Related Posts

Janus
How to install Janus Gateway in Ubuntu Server 18.04
July 15, 2021
1 min