summaryrefslogtreecommitdiff
path: root/extras/janus/nginx.ctx-server.conf
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-02 04:01:52 +0300
committerDevaev Maxim <[email protected]>2021-05-02 04:01:58 +0300
commit0b700eab22c3467c43e9755ba5b08d056ef2895f (patch)
treecdcdbe9e869482be441c852bf7c3e9ae3141cd3c /extras/janus/nginx.ctx-server.conf
parentb43aa5056788ebb10f27e8a1bef5a005631011f6 (diff)
janus nginx configs and user
Diffstat (limited to 'extras/janus/nginx.ctx-server.conf')
-rw-r--r--extras/janus/nginx.ctx-server.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/janus/nginx.ctx-server.conf b/extras/janus/nginx.ctx-server.conf
new file mode 100644
index 00000000..d17a7288
--- /dev/null
+++ b/extras/janus/nginx.ctx-server.conf
@@ -0,0 +1,7 @@
+location /janus/ws {
+ rewrite ^/janus/ws$ / break;
+ rewrite ^/janus/ws\?(.*)$ /?$1 break;
+ proxy_pass http://janus-ws;
+ include /etc/kvmd/nginx/loc-proxy.conf;
+ include /etc/kvmd/nginx/loc-websocket.conf;
+}