mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
janus nginx configs and user
This commit is contained in:
3
extras/janus/nginx.ctx-http.conf
Normal file
3
extras/janus/nginx.ctx-http.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
upstream janus-ws {
|
||||
server unix:/run/kvmd/janus-ws.sock fail_timeout=0s max_fails=0;
|
||||
}
|
||||
7
extras/janus/nginx.ctx-server.conf
Normal file
7
extras/janus/nginx.ctx-server.conf
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user