mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
janus nginx configs and user
This commit is contained in:
parent
b43aa50567
commit
0b700eab22
@ -2,11 +2,13 @@ g kvmd - -
|
||||
g kvmd-ipmi - -
|
||||
g kvmd-vnc - -
|
||||
g kvmd-nginx - -
|
||||
g kvmd-janus - -
|
||||
|
||||
u kvmd - "Pi-KVM - The main daemon" -
|
||||
u kvmd-ipmi - "Pi-KVM - IPMI to KVMD proxy" -
|
||||
u kvmd-vnc - "Pi-KVM - VNC to KVMD/Streamer proxy" -
|
||||
u kvmd-nginx - "Pi-KVM - HTTP entrypoint" -
|
||||
u kvmd-janus - "Pi-KVM - Janus WebRTC Gateway" -
|
||||
|
||||
m kvmd gpio
|
||||
m kvmd uucp
|
||||
@ -15,5 +17,6 @@ m kvmd systemd-journal
|
||||
|
||||
m kvmd-ipmi kvmd
|
||||
m kvmd-vnc kvmd
|
||||
m kvmd-janus kvmd
|
||||
|
||||
m kvmd-nginx kvmd
|
||||
|
||||
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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user