BBB-Demo URL

627 views
Skip to first unread message

Tyler G

unread,
Jul 18, 2012, 8:30:45 AM7/18/12
to bigblueb...@googlegroups.com
How do I change the demo URL to something else? (http://yourdomain.com/demo/ --> http://yourdomain.com/app, etc.) I'm using the current version.

Thanks,
Tyler

Fred Dixon

unread,
Jul 18, 2012, 8:40:30 AM7/18/12
to bigblueb...@googlegroups.com
Hi Tyler,

You can change the hostname of the BigBlueButton server using, such as to bbb.mydomainname.com

  sudo bbb-conf --setip bbb.mydomainname.com



The /demo application are the built-in BigBlueButton API demos (written in .jsp and running in tomcat6).  They are located at

  /var/lib/tomcat6/webapps/demo


If you create you own front-end, such as

  /var/lib/tomcat6/webapps/app


You need to tell nginx how to route incoming request to to '/app'.  To do this, copy 

  /etc/bigbluebutton/nginx/demo.nginx

to

  /etc/bigbluebutton/nginx/app.nginx

(You can call it whatever you want, just ensure it ends in .nginx), and change the path to point to app.  As in

         # Forward request to /demo to tomcat.  This is for
         # the BigBlueButton api demos.
       location /app {
           proxy_pass         http://127.0.0.1:8080;
           proxy_redirect     default;
           proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

        # Allow 30M uploaded presentation document.
           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;
       }


Then restart nginx.  

  sudo /etc/init.d/nginx restart

and try opening



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/AGkbnv1fzSIJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.





Reply all
Reply to author
Forward
0 new messages