What a BigBlueButton cluster proxy does for one client hostname
A BigBlueButton cluster proxy places one hostname in front of a pool of BigBlueButton servers that Scalelite balances. Without it, the client loads from whichever server hosts the meeting, so users see different hostnames from one meeting to the next. Browsers scope camera and microphone permissions, cookies and cross-origin requests to the origin that loaded the page, so the same person can be asked to approve their devices again. A single proxy hostname keeps the client under one origin for every meeting in the pool. Teams usually need this when they run several servers behind one front end and see repeated permission prompts or cookie problems in classes. The design depends on the cluster being built first. Scalelite, its database and cache, the shared recording volume and each BigBlueButton server must already work and pass load balancing tests before a proxy is layered on top.
The proxy forwards requests that arrive on the shared hostname to the correct BigBlueButton server, usually with one nginx location block per server. Each block has to carry the paths the client uses, pass the headers that the server and Scalelite rely on, and support the WebSocket connections used for live meeting traffic. Three settings need a decision before anyone writes configuration: the public hostname and the certificate that covers it, the CORS policy for the origins that embed the client, and the cookie domain and attributes, since a cookie set for one server's hostname will not reach the shared one. Treat the exact paths, forwarded headers and cookie behavior as items to confirm. Check them against the BigBlueButton and Scalelite documentation for the versions in use, and record the result in a configuration reference that the operations team can read.
Plan the verification before the change goes live. Join test meetings from at least two browsers on two machines, and confirm that the camera and microphone prompt appears once per browser, that audio and video connect through the proxy, and that a meeting on each server in the pool works under the shared hostname. Then test a server drain or failover, because a proxy that works while every server is healthy can still break when Scalelite sends new meetings to a different server. Repeat the same test after each BigBlueButton upgrade and each Scalelite change, since version changes can alter paths or headers. The proxy also becomes a single point of failure for every user, so decide early whether it runs on one host or behind a redundant pair, and record who is alerted when it fails.
Choosing the proxy layout for your cluster
This table compares six proxy layouts for a BigBlueButton cluster served under one client hostname. Each row shows what the layout fixes, what it adds to operations and which team should own the certificate and routing rules. The main takeaway is that a single hostname only removes repeated device approvals when one team controls its certificate and every routing rule behind it.
| Layout | What it fixes | What it adds to operations | Who owns the certificate and routing rules |
|---|---|---|---|
| Per-server locations behind one hostname | Users see one client hostname, so camera and microphone approval carries across meetings on different servers | Each BigBlueButton server needs a proxy location and matching CORS and cookie settings, kept in step on every server | Your platform team owns the one certificate and every location block on each server |
| Separate hostname per server | Each server keeps its own routing, so a change to one server's rules does not touch the others | Users approve devices again for each hostname, and certificates multiply with the server count | Each server's owner manages its own certificate and routing rules, so each owner must keep them current |
| Proxy on the Scalelite host | One fewer machine to provision, patch and monitor | The proxy shares the host with Scalelite, so a proxy change or outage also affects the load balancer | The team that runs Scalelite owns the certificate and the routing rules |
| Proxy on its own machine | Isolates the proxy's configuration and restarts from Scalelite and from the BigBlueButton servers | Adds a host to patch, monitor and back up, plus one more network path to test | A dedicated proxy owner, often the platform team, holds the certificate and routing rules |
| Single proxy | The simplest layout, with one place to change routing and the certificate | A failure or restart of the proxy stops new users from loading the client | One team owns the certificate and routing rules on one host |
| Pair of proxies | Removes a single point of failure if traffic can move to the second proxy automatically | Two configurations must stay identical, and certificate renewal and rule changes apply to both | One owner for both proxies, with one change process so the pair does not drift apart |
API calls and client traffic take separate paths through the proxy
The diagram starts in the browser, which opens the room from Greenlight or an LMS. The front end signs each API call with the shared secret and sends it to the shared proxy hostname, where TLS ends. The proxy passes API calls to the Scalelite API and passes client and media traffic to the BigBlueButton servers in the pool. Scalelite then routes each meeting to one server. The shared secret stays on the server side and never reaches the browser or a web page. When you review the setup, confirm that media ports stay reachable through your firewall.
API calls and client traffic take separate paths through the proxy.
Setting up the proxy hostname step by step
This sequence puts one public hostname in front of every BigBlueButton server in a Scalelite pool, so users approve camera and microphone access once. Each step ends with a check you can run yourself, so a fault shows up before users join meetings.
Confirm server and Scalelite host requirements
Check each BigBlueButton server against the 4.0 install requirements: a clean Ubuntu 24.04 64-bit installation, at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk if you keep recordings (50 GB without), and 250 Mbit/s symmetrical bandwidth. Upgrades in place from 2.6, 2.7 or 3.0 are not supported, so build each server clean. Confirm the Scalelite host and its PostgreSQL, Redis and NFS dependencies against the Scalelite repository, and make sure the servers can reach it. Done when each server passes the built-in check (bbb-conf --check) and Scalelite reaches every server's API.
Provision the proxy hostname and certificate
Create one public DNS name for the proxy and point it at the proxy host. Obtain a valid certificate that matches that name, because BigBlueButton requires a valid hostname for SSL and a browser that rejects the certificate will not load the client. Keep the certificate and private key on the proxy only, and document the renewal process before go-live. Done when a client outside your network resolves the name to the proxy and an OpenSSL chain check from that network reports a verified certificate for that name.
Open TCP 80 and 443 to the proxy
Allow inbound TCP 80 and 443 from client networks to the proxy, and confirm that nothing else in front of it blocks them, such as a cloud security group or a campus edge device. Port 80 should answer with a redirect to HTTPS, and port 443 should complete a TLS handshake with your certificate. BigBlueButton media still needs UDP 16384 to 32768 open on each server, so review that path separately. Done when a test from outside your network shows the redirect and a successful TLS handshake, and your UDP rules on each server match the plan.
Add a location for each server
In the proxy's nginx configuration, add one location block per BigBlueButton server, each forwarding client paths and WebSocket upgrades to that server's own hostname over HTTPS. Keep all locations in one server block for the proxy hostname so the browser sees a single origin. Pass the original Host header and forwarding headers, and test CORS and cookie settings against the proxy hostname before you add the second server. Done when a request to each location returns the client from the matching server, confirmed in the response and in that server's access log.
Keep the shared secret on the server side
Store each server's shared secret only in the systems that sign API calls, such as Scalelite and your front end. Keep it out of the proxy configuration files and out of any page or static file the proxy serves, because BigBlueButton API checksums depend on that secret and the documentation warns against embedding it in a web page. Restrict read access to the files that hold it, and rotate the value if it reaches a shared location. Done when a search of every file served through the proxy finds no secret value.
Test permissions and Scalelite polling
Create test meetings until one lands on each of two servers, then join both through the proxy hostname. Confirm that the browser asks for camera and microphone permission once for that origin and does not ask again on the second server. Review Scalelite's poll results and confirm that each server reports as available with its current load. Done when both test meetings open without a second permission prompt and Scalelite lists both servers as polled and available.
Security controls for the shared proxy hostname
The proxy places the BigBlueButton client, its API calls and its web entry points behind one hostname, so these controls protect the same public surface. Review them together before go-live, because a weakness in one, such as a leaked secret or a loose location rule, exposes the whole cluster behind that name.
Keep the shared secret off the proxy
Every BigBlueButton API call is signed with a checksum computed from a secret shared with the server, and the API documentation warns never to embed the shared secret in a web page. Behind one hostname, the secret can leak by accident, for example through a page that builds API calls in the browser or a debug location that echoes configuration. Check that API calls are made by your application server and that the browser never receives the secret. Search served pages and proxy responses for the secret string before each release.
BigBlueButton API docsCertificate ownership and renewal
BigBlueButton requires a valid hostname for SSL, and the proxy serves TLS for every user who joins through it. Decide who owns the certificate and its private key, and which process renews it before expiry. One expired certificate stops every join on the shared hostname at the same moment, so alert well before the expiry date and document how to reissue during an outage. Confirm the renewal method and alert timing with the team that manages your certificates.
Restrict paths and methods per server
The proxy sends each server's paths through its own nginx locations, so a broad location rule can route requests to the wrong server or expose administrative paths. Allow only the paths the client and API need, and only the HTTP methods each path uses. Deny every path and method that is not explicitly needed. Test each location with requests that should fail, such as methods a path does not use, and keep the rule set in version control so every change gets reviewed.
Logging and access review at the proxy
Proxy access logs are the record that shows which client addresses reached which server through the shared hostname. Decide which fields are logged, where logs are stored and how long they are kept under your retention policy. Review them on a schedule for repeated failed joins, unusual request volumes and calls to paths that should never be reached from outside. Confirm whether the access log records full query strings, since API parameters can carry meeting values you may not want retained.
Firewall rules for the media path
Media for BigBlueButton clients flows over UDP ports 16384 to 32768, and the installation docs require those ports to be reachable. Keep UDP 16384 to 32768 open only on the media servers and only toward the source networks you expect. Keep the proxy host's rules separate, since it carries web traffic on TCP 80 and 443. Confirm the rules with a test call from a restricted network before go-live.
Install docsTURN server for restrictive networks
Users behind firewalls that block UDP can fail to join media even when the proxy works, and the installation docs recommend a TURN server for them. Decide whether TURN runs on each media server or on separate hosts, which ports it uses and who can reach it. A TURN server relays user media through your infrastructure, so its credentials and bandwidth need the same review as the proxy. Test a join from a network that blocks UDP before you rely on it.
Upgrade side effects to test at the proxy layer
Treat every BigBlueButton version change as a change to the proxy's inputs, not only to the servers behind it. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported, so a clean server installation is recommended. In practice, the team rebuilds each pooled server and reattaches it to the cluster. A rebuilt server can change the paths that the proxy's per-server locations forward to, the headers the server returns, or the certificate it presents on its hostname. Any of these can break the client for users on that server while the server still passes basic health checks. Confirm each expected path, header and certificate against the 4.0 install documentation for your own build.
Test a rebuilt server through the shared proxy hostname before it joins the pool. Scalelite routes new meetings to servers it considers enabled, so a broken location would reach real users only after the server returns to service. Load the client through the proxy hostname and check that the camera and microphone prompts still appear once and are remembered. In the browser developer tools, confirm that the CORS responses and cookie attributes match the values on the previous server. Then join a test meeting from two accounts, one with audio and one with video, and confirm that both can see and hear each other. Keep the server disabled in the pool until every check passes, and record the results so the next rebuild has a baseline.
Use the 3.0 maintenance branch and the 4.0.0 release as the starting points for planning. Teams still running 3.0 should keep receiving maintenance releases on that branch, such as 3.0.39 released on October 2, 2026, while they schedule the move. The 4.0.0 release, published on October 14, 2026, is the version to plan the rebuild and proxy tests against. Check the BigBlueButton releases page for any point release before the work starts. The full upgrade plan, including sequencing, plugin and configuration changes and legacy recordings, lives in the BigBlueButton upgrades topic, so use this section only for the proxy checks that belong with each rebuild.
Limits to confirm before you build the proxy
Each item below is a point where a proxy design can fail after the build has started. Confirm them in writing against the release notes, your front end configuration and a lab test on the same versions you plan to run. Anything you cannot confirm from documentation belongs in the test plan.
Proxy pattern in your version
Check whether the BigBlueButton and Scalelite versions you plan to run document a proxy in front of several servers. BigBlueButton 4.0 is installed on Ubuntu 24.04 and does not support direct upgrades from 2.6, 2.7 or 3.0, so a clean install sets the baseline. Confirm the pattern against the exact release, because a documented 3.0 setup may not carry over to a 4.0 rebuild. Record the answer with the release tag you tested.
BigBlueButton releasesMedia path and TURN
Decide which traffic the proxy carries and which traffic reaches each BigBlueButton server directly. The install docs list TCP 80 and 443 and UDP 16384 to 32768 as ports that must be reachable, and recommend a TURN server for users behind restrictive firewalls. Confirm whether media ports pass through the proxy at all, and test the answer from a network that blocks UDP. Then check where TURN runs and which hostname it uses.
Install docsBlast radius of a proxy failure
One proxy in front of a pool is a shared entry point, so its failure touches every meeting it routes, including meetings already running when its sessions pass through it. Map which meetings depend on the proxy and whether clients reconnect automatically after a restart. Confirm the failure behavior in a test with a live meeting open, and write down the recovery you observe. Decide whether a second proxy or DNS failover is required before go-live.
Certificate and hostname ownership
The install docs require a valid hostname for SSL, and the proxy hostname becomes the name every browser checks. Confirm who owns the DNS zone, who holds the certificate and private key, and who renews it, and that the certificate covers the exact hostname users type. Check that the backend servers' own certificates and hostnames do not conflict with the proxy's name. Assign one named owner for each item before the build, because an expired certificate blocks access to every meeting routed through the proxy.
Backends each proxy can carry
The number of BigBlueButton servers one proxy can serve depends on the proxy software, its configuration and the traffic each meeting generates. No documented figure for your setup is available here, so ask the project and your proxy vendor for stated limits. Measure the ceiling yourself by load testing the proxy with your planned backend count and concurrent meetings. Keep the results with the pool size you choose, and review them whenever you add a server.
Scalelite repositoryFront end support for the hostname
Confirm that your front end can point at the proxy hostname instead of a single BigBlueButton server, and that it stores the server URL and shared secret in the form it expects. Greenlight v3 supports external sign-in through OpenID Connect configured with environment variables, so check that its redirect addresses match the new hostname. Never place the shared secret in a web page, and make sure the proxy does not expose it to browsers. Confirm each setting on a staging host.
Greenlight v3 external authenticationMaking the proxy highly available without a second hostname
Removing the proxy as a single point of failure comes down to three options, and each keeps a different part of the permission model intact. The first is a second proxy with the same configuration, so the per-server locations, CORS and cookie settings sit on two nodes and either one can answer for the client hostname. The second is name-based failover, where DNS or a load balancer moves traffic to a standby under a different name. It is the simplest option to put in place, but browsers treat a new hostname as a new origin, so camera and microphone approvals granted on the old name do not carry over. The third is a stateless proxy configuration, so any replacement built from the same version-controlled files serves the same routes, with no state held only on the node that failed.
Whichever option you choose, both nodes must present the same hostname and a certificate the browser accepts for it. Each standby needs the same certificate and private key, or a repeatable way to issue one for that name, and the chain must match what users already trust. With a floating address shared by the two nodes, only one node answers at a time and the hostname never changes, so the browser sees only a brief interruption. If you instead repoint the shared hostname to a standby address in DNS, clients may keep the old address until cached records expire, so set record lifetimes deliberately and confirm them with your DNS team. A second proxy also has to stay in step with the first, because a configuration change missed on one node usually shows up first as a failed route during an outage.
Test failover before a live class depends on it. Start a meeting through the primary proxy, approve camera and microphone, then stop the primary and check that the same browser rejoins through the standby without a new permission prompt, that the client still loads from the shared hostname, and that the session cookies remain valid. Repeat the test from a fresh browser profile and from a second device, and record every difference. The failure picture for the proxy alongside the BigBlueButton servers, Scalelite, PostgreSQL, Redis and NFS is set out in the high availability topic, which should guide how much effort this one component deserves. The right design depends on your network, DNS, certificate management and load balancer, so validate the failover design in your own environment before relying on it, and confirm each behavior with the teams that operate those systems.
What buyers ask about the cluster proxy before hiring help
What drives the cost of a cluster proxy build?
The cost follows the number of BigBlueButton servers behind the hostname, how many per-server routes the proxy must carry, and how much of your network path the team must review. The work has four cost components:
- Design: the hostname, per-server locations, CORS and cookie settings, and how the proxy fits your firewall and load balancer.
- Build: nginx configuration, certificates and deployment into your environment.
- Testing: camera and microphone prompts, join checks on every server and browser in scope, and failover checks.
- Operation: monitoring, certificate renewal and config changes when servers are added, drained or replaced.
Design, build and testing are usually one-time work. Operation recurs for as long as the proxy runs. Ask each quote to show these four parts separately.
How long does it take to build and test the proxy?
The schedule depends on how many servers sit behind the proxy, how much of the network path your team controls, and how many browsers and client environments testing must cover. No duration fits every deployment, so ask for the timeline in the written scope and check it against your change windows. Testing often takes longer than the build when a load balancer, corporate firewall or TLS inspection device sits in front of the proxy, because each one can change headers, cookies and WebSocket connections before they reach nginx. Ask for a test plan that lists browsers, operating systems, meeting types and the retest steps after each BigBlueButton version change. Most DeployOpen engagements are fixed-scope, so the scope states deliverables and timelines before work starts.
What does our team need to provide for the proxy?
The client team provides the access and decisions the proxy depends on, and the written scope records who owns each one. Expect to provide:
- DNS control for the client hostname and a certificate authority your policy accepts.
- Access to the BigBlueButton servers, the existing front end and any load balancer or firewall in front of the proxy.
- Named owners for DNS and firewall changes, plus change windows that match your meeting calendar.
- A test group that can join meetings from its own devices and networks, and written answers on which browsers and networks must work.
Confirm each item during scoping. DNS and firewall approvals usually sit outside the project team, so they often set the start date.
Can an internal team build a cluster proxy alone?
Yes, an internal team with nginx, TLS and BigBlueButton experience can build and run the proxy, and the technical steps are the same whichever party does the work. The skills that matter most are nginx location and header handling, browser CORS and cookie behavior, WebSocket proxying, certificate management and cross-browser testing. Teams that already operate Scalelite know the server pool, but the proxy still needs its own test plan. Before deciding, ask whether the people who will carry on-call and upgrade work have time to learn the configuration before the next BigBlueButton version change. A partner can take design, build and testing under a fixed-scope agreement while your team keeps operation. The written scope shows where that split falls.
What changes in the proxy after a BigBlueButton upgrade?
After an upgrade, the proxy configuration may need changes, and the server layout may change too. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so the project recommends a clean server installation. A clean install usually means new hosts, so the per-server locations and nginx upstream targets must be rechecked against them. Point releases on the 3.0 maintenance line can also change behavior the proxy relies on, so repeat a join test with camera and microphone after each change. Ask for the upgrade test steps, the rollback plan and the list of configuration files your team must review before work starts.
What work recurs after the cluster proxy goes live?
Ongoing work covers certificate renewal, proxy monitoring and config changes whenever the server pool changes, and it continues for as long as the proxy runs. The recurring items are:
- Certificate renewal for the client hostname on the schedule your policy requires.
- Updating nginx upstream entries when servers join, drain or leave the pool.
- Reviewing proxy logs alongside BigBlueButton server alerts.
- Retesting joins after each BigBlueButton maintenance release and each firewall or load balancer change.
A retainer can cover ongoing support, upgrades and continuous testing. Ask the quote to show which of these items the retainer includes and which stay with your team.
What should a quote for the cluster proxy include?
A quote should follow from a written scope that names the servers in scope, the deliverables, the browsers and networks to test and the handover documents. DeployOpen does not publish a price list, so the quote is built from that scope. Ask these questions before you compare quotes:
- Which design, build, testing and operation items are priced separately, and which sit in one fixed fee?
- What handover does the quote include, such as configuration files, a runbook, a test report and retest steps?
- Which assumptions about DNS, firewalls and client access must your team confirm before work starts?
- Which recurring items sit inside a retainer, and which stay with your team?
What breaks first when the proxy's CORS or cookie settings are wrong?
Misconfigured CORS or cookie settings can show up at join time, when the client loads but users are asked for camera and microphone permission again, or when some servers fail to join through the proxy. Check these first:
- Hostname, cookie and CORS headers match across every per-server location.
- WebSocket upgrade headers pass through to each BigBlueButton server.
- Each server in the pool completes a test join through the proxy.
- Browsers that restrict third-party cookies are included in the test matrix.
Keep these checks in the test plan so they run again after every change.
How DeployOpen scopes and delivers a cluster proxy
DeployOpen treats the proxy hostname as part of the Scalelite cluster design, so routing, CORS, cookies and upgrades are scoped together. Engagements are fixed-scope: the written scope names the hostname, each backend server, the nginx configuration and the tests before work starts. The proxy runs in infrastructure you control, and the handover documents how your operators maintain it after the project ends.
How we scope
- Confirm the single client hostname, its TLS certificate ownership and which BigBlueButton servers sit behind it.
- Record which front ends, Scalelite endpoints and LMS or Greenlight clients will call the proxy hostname.
- The written scope lists deliverables, test cases, change windows and the support model, agreed before work starts.
How we build
- Configure one nginx entry point with per-server location blocks, each mapped to a BigBlueButton server's own endpoints.
- Set CORS and cookie attributes for the shared hostname, then test them in the browsers your users run.
- Test camera and microphone approval across several servers, so users approve devices once per hostname.
How we hand over
- Deliver the nginx configuration, a runbook for adding and removing servers, and the test results.
- Document the upgrade checks to repeat after each BigBlueButton release, including cookie and CORS behavior.
- Walk your operators through the proxy's failure modes and the planned path to making it highly available.
How we support
- Ongoing support, upgrade checks and continuous testing are available as retainers, scoped in writing.
- Ask for the support response model and change process in the quote, so ownership is clear before launch.
- Confirm with us which upgrade paths and BigBlueButton versions the retainer covers before you sign.

