summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-12-25 09:16:59 +0200
committerMaxim Devaev <[email protected]>2024-12-25 09:16:59 +0200
commitab08d823c4feeb58e37591adf1ac40a07362733b (patch)
treeab2bb3c4aa35ae2efd72486e78d1a8a8d6c40be3 /extras
parenteda7ab3a49efeee6a55546e2ec51364c8dc81307 (diff)
pikvm/pikvm#1440: Websocket-based transport and decoding for H.264
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;