diff options
Diffstat (limited to 'extras/media/nginx.ctx-server.conf')
-rw-r--r-- | extras/media/nginx.ctx-server.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/media/nginx.ctx-server.conf b/extras/media/nginx.ctx-server.conf new file mode 100644 index 00000000..67f877fc --- /dev/null +++ b/extras/media/nginx.ctx-server.conf @@ -0,0 +1,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; +} |