diff --git a/conf/nginx.conf b/conf/nginx.conf index 6af3015..bb47810 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,8 +12,8 @@ location __PATH__/ { # Proxy and upgrade WebSocket connection location __PATH__/recorder/ws { - rewrite ^__PATH__/recorder/(.*) /$1 break; - proxy_pass http://127.0.0.1:__PORT__; + #rewrite ^__PATH__/recorder/(.*) /$1 break; + proxy_pass http://127.0.0.1:__PORT__/ws/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";