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