janus nginx configs and user

This commit is contained in:
Devaev Maxim
2021-05-02 04:01:52 +03:00
parent b43aa50567
commit 0b700eab22
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
upstream janus-ws {
server unix:/run/kvmd/janus-ws.sock fail_timeout=0s max_fails=0;
}

View File

@@ -0,0 +1,7 @@
location /janus/ws {
rewrite ^/janus/ws$ / break;
rewrite ^/janus/ws\?(.*)$ /?$1 break;
proxy_pass http://janus-ws;
include /etc/kvmd/nginx/loc-proxy.conf;
include /etc/kvmd/nginx/loc-websocket.conf;
}