summaryrefslogtreecommitdiff
path: root/extras/media/nginx.ctx-server.conf
blob: cf1d157c355f786de1d7ebe09f9b7bdae997e8e9 (plain)
1
2
3
4
5
6
7
location /api/media/ws {
	rewrite ^/api/media/ws$ /ws break;
	rewrite ^/api/media/ws\?(.*)$ /ws?$1 break;
	proxy_pass http://media;
	include /etc/kvmd/nginx/loc-proxy.conf;
	include /etc/kvmd/nginx/loc-websocket.conf;
}