mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
18 lines
465 B
Plaintext
18 lines
465 B
Plaintext
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;
|
|
}
|
|
|
|
location = /share/js/kvm/janus.js {
|
|
alias /usr/share/janus/javascript/janus.js;
|
|
include /etc/kvmd/nginx/loc-nocache.conf;
|
|
}
|
|
|
|
location = /share/js/kvm/adapter.js {
|
|
alias /usr/share/janus/javascript/adapter.js;
|
|
include /etc/kvmd/nginx/loc-nocache.conf;
|
|
}
|