summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/media/nginx.ctx-server.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/media/nginx.ctx-server.conf b/extras/media/nginx.ctx-server.conf
index 67f877fc..cf1d157c 100644
--- a/extras/media/nginx.ctx-server.conf
+++ b/extras/media/nginx.ctx-server.conf
@@ -1,6 +1,6 @@
-location /media/ws {
- rewrite ^/media/ws$ /ws break;
- rewrite ^/media/ws\?(.*)$ /ws?$1 break;
+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;