diff --git a/mod/html5/settings.yml b/mod/html5/settings.yml
index 60bd6a9..9756608 100644
--- a/mod/html5/settings.yml
+++ b/mod/html5/settings.yml
@@ -319,7 +319,7 @@ public:
     #so far. Increasing this value might help avoiding 1004 error when
     #user activates microphone.
     iceGatheringTimeout: 5000
-    sipjsHackViaWs: true
+    sipjsHackViaWs: false
     #Websocket keepAlive interval (seconds). You may set this to prevent
     #websocket disconnection in some environments. When set, BBB will send
     #'\r\n\r\n' string through SIP.js's websocket. If not set, default value
diff --git a/mod/nginx/bbb/sip.nginx b/mod/nginx/bbb/sip.nginx
index 3d85d6c..ee4993e 100644
--- a/mod/nginx/bbb/sip.nginx
+++ b/mod/nginx/bbb/sip.nginx
@@ -1,5 +1,5 @@
 location /ws {
-        proxy_pass http://$freeswitch_addr:5066;
+        proxy_pass https://$freeswitch_addr:7443;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "Upgrade";