summaryrefslogtreecommitdiff
path: root/extras/janus/nginx.ctx-server.conf
blob: 3a877052de6c2a35f842964b2cd10c687622722c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}