Changing the Bigbluebutton API endpoint url.

314 views
Skip to first unread message

Nandan Roy

unread,
May 1, 2021, 3:14:11 PM5/1/21
to BigBlueButton-Setup
Hi , 
First of all congratulations to the entire development team who have worked really hard to launch 2.3 .. It has so many long awaited features .. Installed it yesterday.. So far working everything great. 
Can someone please guide me how to change the Bigbluebutton API endpoint url. 

For eg, I want to change it from :
https://<myserver.com>/bigbluebutton/api 

to  https://<myserver.com>/conference/api 




Reg
Nandan

Nandan Roy

unread,
May 3, 2021, 5:06:51 AM5/3/21
to bigbluebu...@googlegroups.com
Hi, 
Really appreciate if someone can throw any light on this. 

Reg
Roy

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/50c26cf1-ad84-4aae-a908-925550465c0dn%40googlegroups.com.

sd...@distancelearning.cloud

unread,
May 3, 2021, 6:11:30 AM5/3/21
to bigbluebu...@googlegroups.com

This endpoint is only used by front end apps, so users never see the /bigbluebutton

 

This is defined in bbb_web, so you can redefine there,  also need to change all the other references to /bigbluebutton. In the other project files, that reference.  Think settings.yml bigbluebutton.properties etc… for fetching stun file and demo pages

 

There may also be a way to rewrite in nginx but not sure.

 

Regards,

Stephen

Nandan Roy

unread,
May 3, 2021, 7:08:18 AM5/3/21
to bigbluebu...@googlegroups.com
Thanks Stephen,  
Yes, we are using it from third party Apps via API .  Is there any documentation or thread available which explains which all places we  need to make the changes .

Reg
Roy 

sd...@distancelearning.cloud

unread,
May 3, 2021, 9:30:30 AM5/3/21
to bigbluebu...@googlegroups.com

If your doing this to obfuscate the system is actually bigbluebutton 😊,   better to do in your scaling loadbalancer.  That way you can take instant updates as new point releases of BBB come out every few weeks, and not required to deploy a custom image.

 

For example /controller maps to /bigbluebutton

Message has been deleted
Message has been deleted

Ghazi TRIKI

unread,
May 5, 2021, 3:35:20 PM5/5/21
to BigBlueButton-Setup
Hi Reg,

You can write a new nginx file to use your own rules.

manish katyan

unread,
May 7, 2021, 9:01:18 AM5/7/21
to bigbluebu...@googlegroups.com

You can create  conference.nginx file at /etc/bigbluebutton/nginx/ with below code

location /conference {
        proxy_pass         http://127.0.0.1:8090/bigbluebutton;
        proxy_redirect     default;
        proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

        # Workaround IE refusal to set cookies in iframe
        add_header P3P 'CP="No P3P policy available"';

}
run nginx -t to check configuration files for error
run nginx -s reload to reload the nginx
after this you should be able access api with https://<myserver.com>/conference/api 

Arun Kumar Bhat

unread,
May 7, 2021, 9:01:20 AM5/7/21
to bigbluebu...@googlegroups.com
You can create  conference.nginx file at /etc/bigbluebutton/nginx/ with below code 

location /conference {
        proxy_pass         http://127.0.0.1:8090/bigbluebutton;
        proxy_redirect     default;
        proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

        # Workaround IE refusal to set cookies in iframe
        add_header P3P 'CP="No P3P policy available"';

}
run nginx -t to check configuration files for error
run nginx -s reload to reload the nginx
after this you should be able access api with https://<myserver.com>/conference/api  

Nandan Roy

unread,
May 12, 2021, 10:23:51 AM5/12/21
to bigbluebu...@googlegroups.com
Hi Manish, 
I tried the below steps. Created a new file conference.nginx and ran  nginx -t  , nginx -s reload  without error. I am creating the meeting using the create API. It is creating successfully , after that I am starting the meeting by passing the meeting id in the POST method and getting the below response : 

{
"status": true,
"message": "Meeting Started Successfully",
"url": "https://<myserver.com>/bigbluebutton/api/join?meetingID=1620342808&fullName=Nand&password=mp&redirect=true&joinViaHtml5=false&checksum=5f9f97c2a5c51a0fe1500a326bcfc82c29ba2b68"
}

How can I remove "bigbluebutton" from the response url.

Please note I can successfully create meetings , run and manage using BBB APIs . Only challenge is when I am trying to fetch the joining url , it has bigbluebutton in the url.



--
Regards
Nandan

Nandan Roy

unread,
May 12, 2021, 10:23:52 AM5/12/21
to bigbluebu...@googlegroups.com
Thanks a lot Manish and Arun.. I will check it today...

Ghazi TRIKI

unread,
May 23, 2021, 4:09:13 PM5/23/21
to BigBlueButton-Setup
Hello,

Try the code below. It will work for sure

location /conference{
  proxy_pass         http://127.0.0.1:8090/bigbluebutton;
  proxy_redirect     default;
  proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
  client_max_body_size       30m;
  client_body_buffer_size    128k;
  proxy_connect_timeout      90;
  proxy_send_timeout         90;
  proxy_read_timeout         90;
  proxy_buffer_size          4k;
  proxy_buffers              4 32k;
  proxy_busy_buffers_size    64k;
  proxy_temp_file_write_size 64k;
  include    fastcgi_params;
}

Just create a configuration file and put it in /etc/bigbluebutton/nginx

Ghazi

Arun Kumar Bhat

unread,
May 23, 2021, 9:42:32 PM5/23/21
to bigbluebu...@googlegroups.com
It is hard, I don't think we can change  bbb responses unless we modify source code and rebuild them. So best thing is get the join url from bbb response and replace /bigbluebutton  with /conference  programmatically. 

Reply all
Reply to author
Forward
0 new messages