When a reverse proxy in front of Jitsi Meet makes sense
An organization that already runs nginx or Apache as its edge for TLS, certificates and routing usually wants Jitsi on the same entry point. The Docker setup can run behind that proxy with HTTPS disabled in the web container, so the proxy terminates TLS for the public hostname. The one thing it cannot carry is media: the videobridge's UDP 10000 traffic bypasses the proxy entirely, so that port must still reach the Jitsi host directly from clients. Plan for that path before anything else.
A Jitsi Meet deployment is several services behind one hostname. The web server serves the web app, Prosody handles XMPP signaling, Jicofo focuses conferences, and Jitsi Videobridge routes media. The proxy must send the web app and the signaling paths to the right containers, and it must pass WebSocket connections through. Confirm the exact routes and WebSocket behavior against the Docker guide for your release, because the handbook's nginx and Apache examples are the reference, not a generic template.
Decide early who owns the proxy configuration. The team that manages the edge proxy usually owns certificates, headers and access rules, while the team that runs Jitsi owns the containers, the .env file and the bridge's network exposure. Those two owners need a written split, or a certificate renewal or header change can silently break calls. Ask who will test a proxy change after each Jitsi upgrade, since the routes can change between releases.
Before committing to this design, check two things: that the proxy host can reach the Jitsi host on the ports the containers need, and that UDP 10000 is open from the internet to the bridge without inspection that would break media. If either check fails, a separate network path for the bridge is the cleaner option, and that decision should be made in the design phase, not during go-live.
Reverse proxy options for Jitsi Meet and when each fits
This table compares three ways to place Jitsi Meet behind a proxy: the bundled Docker proxy, an existing nginx or Apache proxy on the same host, and a proxy on a separate host. Read each row against your network, certificate ownership and team skills. The main takeaway is that media on UDP 10000 never passes through any of these proxies, so each option still needs that port reachable from clients.
| Option | How it works | Trade-off | When to choose it |
|---|---|---|---|
| Bundled web container | Keep the Jitsi web container serving ports directly, with its own TLS and certificate handling | Least change to the stock compose file, but it is the least suited to sharing ports 80 and 443 with other services | Dedicated Jitsi host with no other web service and no existing proxy to reuse |
| Existing proxy on the same host | Disable HTTPS in the web container, publish only a local port, and let nginx or Apache terminate TLS in front of it | Reuses your certificate process, but the proxy config must match the WebSocket and port settings for the release in use | Host already runs nginx or Apache for other sites and your team manages its certificates |
| Proxy on a separate host | Web container listens on an internal address reachable only from the proxy, and the proxy forwards HTTPS traffic across your network | Cleanest separation for security reviews, but adds a network hop, an extra host to patch and firewall rules to maintain | Central edge or DMZ proxy that your security team already operates for other services |
| HTTPS setting in the web container | Turn off the container's own HTTPS so TLS ends at the proxy, using the environment file keys confirmed for your release | Certificate renewal moves to the proxy; a missed setting can cause mixed content or redirect loops | Any option where an external proxy terminates TLS |
| Port publication in compose | Publish web ports only on the interface the proxy uses, and avoid exposing Jitsi's ports publicly | Incorrect publishing can leave admin or internal ports reachable, so verify with an external port scan | Every option, since the Docker guide describes not exposing Jitsi's ports publicly |
| WebSocket toggle | Keep WebSocket support enabled unless your setup requires disabling it; the proxy must forward Upgrade headers for the signaling path | Disabling it removes the upgrade path, which can break signaling in some clients; confirm the key name in the current Docker guide | Leave on by default; change only when a tested requirement calls for it |
| UDP 10000 media path | Clients send media directly to the videobridge on UDP 10000, bypassing nginx and Apache | A proxy cannot carry this traffic, so the firewall and NAT path must be planned separately | Plan for every option; confirm the firewall and advertised address before go-live |
How traffic splits between the proxy and Jitsi by environment
On a single host, the reverse proxy and the Jitsi web, Prosody, Jicofo and videobridge components share one machine. The proxy terminates TLS on port 443 and forwards web app and signaling traffic to the local containers or services, while the videobridge still listens for media on 10000/UDP on the same address. Because everything is co-located, the internal ports are reachable only through the host's loopback or internal network, which keeps them off the public interface.
- Public ports: Only 443/TCP for the proxy and 10000/UDP for media need to be reachable from the internet in the standard layout.
- Internal ports: Web container ports should bind to localhost or an internal interface, not to all addresses.
- TLS: The certificate sits on the existing proxy, so HTTPS can be disabled inside the web container.
- Media path: 10000/UDP bypasses the proxy entirely and must be opened in the host firewall and any cloud security group.
- Shared host load: The proxy and the videobridge compete for CPU and network on the same machine, which matters at larger meeting sizes.
Before going live, confirm which ports are bound publicly with a port scan from outside your network and check that the media port is reachable from a client on a separate network.
In a multi-host Docker deployment, the web container, Prosody, Jicofo and the videobridge can run on different machines or in separate container networks. The reverse proxy usually sits in front of the web container host and must reach it across the internal network, while the videobridge host needs its own public UDP path. The proxy configuration therefore points at an internal address for the web service, and the bridge advertises an address clients can reach directly.
- Upstream address: The proxy should forward to the internal address of the web container, not to the bridge.
- Websocket routes: The proxy must pass the upgrade headers for the signaling path so that the connection to Prosody survives.
- Bridge exposure: Each videobridge host needs 10000/UDP reachable from clients, which the proxy cannot carry.
- Container ports: Compose port mappings should not publish web ports on 0.0.0.0 when a proxy already fronts them.
- Configuration consistency: Proxy upstreams and advertised bridge addresses must be updated together when hosts change.
Ask your team to document each host's public and internal addresses and to confirm which firewall rules apply to each host, since the rules differ between the proxy and the bridge.
When the videobridge has a public UDP address, media from clients reaches the bridge directly on 10000/UDP and the proxy only sees signaling and web app requests. This layout is common when the bridge sits behind its own public IP or when the bridge is separated from the web tier for scaling. The bridge must advertise the address that clients can reach, so a mismatch between the advertised address and the public address causes media to fail even when the proxy works perfectly.
- Advertised address: The bridge must advertise the public address on which 10000/UDP is reachable, especially when it sits behind NAT.
- Separate firewall policy: The proxy host and the bridge host need different inbound rules, since only the bridge needs UDP.
- No proxy for media: Proxy rules cannot inspect, filter or rate-limit UDP media, so controls must live at the network layer.
- TCP fallback: Optional 5349/TCP can carry media when UDP is blocked, and it must be opened separately if used.
- Certificate scope: The bridge does not need the web certificate for media, but clients still need a valid certificate for the web domain.
Confirm the advertised address and the UDP reachability from an external network before relying on the layout, and document who owns each firewall rule.
Web traffic goes through the proxy, media goes straight to the bridge
The diagram starts with the browser, which sends web app and signaling requests over 443 to the existing nginx or Apache proxy. The proxy terminates TLS with the organization's certificate and forwards plain HTTP to the Jitsi web container, which has its own HTTPS disabled, and WebSocket upgrades pass through the same route. Media takes a separate path: the browser sends DTLS-SRTP packets directly to the videobridge on 10000/UDP, which bypasses the proxy entirely. Check that the proxy is the only public entry for web traffic, and that 10000/UDP is the one port that must stay open to the internet.
Web and signaling pass the proxy, while media reaches the bridge directly on UDP.
Setup sequence for nginx or Apache in front of Jitsi Docker
This sequence moves a working Jitsi Docker deployment behind an existing nginx or Apache proxy, so the proxy owns public HTTPS while the containers serve plain HTTP and the media path stays exposed on its own ports. Each step ends with a check so you know it is safe to move on.
Confirm the Docker deployment works directly
Before changing anything, bring up the stack as published in the Jitsi Docker guide and open a test room in a browser with the server's own HTTPS. Your team or DeployOpen's engineers should confirm the web app loads, a second browser can join the same room, and audio and video flow between them. Record the working .env values and the container status so you have a known-good baseline to compare against. Done when a two-participant call works end to end on the unmodified stack.
Disable HTTPS and set public ports in the web container
In the Docker environment file, turn off the web container's own HTTPS and set the public HTTP and HTTPS ports to the values your proxy will use upstream, so the container listens on plain HTTP only. Keep the public domain name unchanged so generated URLs stay correct. Restart the stack and confirm the web container logs show it listening without certificate errors. Done when the container answers on its plain HTTP port from the host and no longer tries to obtain or serve a certificate.
Bind published ports to localhost or the internal network
Edit the port mappings so the web container's HTTP port is published only on localhost or an internal interface, not on all addresses. Review the other published ports as well, since the Jitsi handbook's guidance is to avoid exposing Jitsi's own ports publicly, and only the media path needs to be reachable from the internet. Check the host firewall rules match this intent. Done when a port scan from outside the network shows the web port closed and the proxy can still reach it locally.
Add the proxy virtual host with WebSocket upgrade
Create the nginx server block or Apache virtual host for the public domain, terminating TLS on the proxy and forwarding requests to the web container's plain HTTP port. Include the WebSocket upgrade headers and the connection upgrade mapping, because the conference signaling runs over WebSockets. If WebSockets must be disabled for a specific network, the Docker guide describes that option, but it is normally left enabled. Validate the configuration with the proxy's syntax check and reload it. Done when the web app loads through the proxy and the browser console shows no failed WebSocket connections on the room page.
Forward the required headers
Pass the original host, client address, protocol and forwarding headers from the proxy to the web container so Jitsi builds correct URLs and the client address is logged accurately. Confirm the proxy does not rewrite the host header in a way that breaks the public domain. Also check that request body and timeout limits are not so low that long-lived signaling connections drop. Done when the room URL shows the public domain, and the web container logs show the real client address rather than the proxy address.
Handle certificates on the proxy
Install the domain certificate and full chain on the proxy, using your existing certificate process or an established automation tool. The Jitsi handbook says a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially with mobile clients, so confirm the chain is complete and trusted by the clients you support. Document renewal and test a reload after renewal. Done when an external TLS checker reports a trusted, complete chain for the public name.
Verify the web app, signaling and a multi-party call
Test from outside the network. Load the web app over the public HTTPS name, confirm signaling connects, and join a room from at least three participants on different networks or devices. Confirm each participant hears and sees the others. Note that media on UDP 10000 does not pass through the proxy, so the call test also confirms that the media ports are reachable directly. Done when the three-party call works, and the proxy and container logs show no repeated connection errors.
Why WebSocket proxying matters and why media skips the proxy
The signaling channel between the browser and the Jitsi Meet server runs over WebSockets, so the reverse proxy in front of the web container must pass WebSocket upgrade requests through to Prosody. If the proxy strips the Upgrade and Connection headers or only forwards plain HTTP, participants may load the meeting page but fail to join the conference, which looks like a server fault when it is a proxy configuration gap. The Jitsi Docker guide covers both the nginx and Apache examples and notes that WebSocket connections can be disabled if your environment needs it. Treat that option as a fallback that changes how clients connect, and confirm the behavior in a test meeting before you choose it for production.
Audio and video do not travel over that HTTP path. Media is carried over UDP port 10000 (the port the Jitsi Videobridge listens on), encrypted with DTLS-SRTP, and it is not HTTP. A standard HTTP reverse proxy such as nginx or Apache cannot receive, inspect or forward these packets, so the bridge port must be reachable from participants directly, with the firewall or load balancer in front of it forwarding UDP rather than terminating it. The Debian quick start lists 10000/UDP as a required open port for this reason, and the same requirement applies to a Docker host behind an existing proxy.
Because media bypasses the proxy, the address the bridge advertises to clients has to be correct. Confirm with your network team which public address and UDP path participants will use, how NAT maps that address to the bridge host, and whether any inbound UDP filtering sits between them. Plan this with the proxy design, not after it, and test a meeting from outside your network before go-live. Behind NAT, the advertised address and the port mapping are the usual points of failure.
Security considerations when the proxy fronts Jitsi
A reverse proxy in front of Jitsi changes where trust, encryption and access decisions sit. The cards below cover the controls that keep the proxy from becoming a bypass around the Jitsi components, and they note where media follows a different path than web traffic.
Keep internal ports off the internet
Only the proxy should accept public web traffic. The Docker guide's reverse proxy setup expects Jitsi's own container ports to stay unpublished, so no internal web, Prosody or Jicofo port should answer on a public address. Check the published port list in your compose files and confirm from outside your network that only the intended ports respond. Confirm the exact ports with the Docker guide before you change any mapping.
Docker guideConcentrate TLS on one proxy
Terminate HTTPS at the proxy that owns the certificate, and disable HTTPS inside the web container so there is one place to renew and rotate certificates. The handbook stresses that a proper domain certificate is needed for working audio and video, and that self-signed certificates cause problems, especially with mobile clients. Record who renews the certificate, how renewal is tested, and what happens when it expires.
Trust forwarded headers only from the proxy
Client IP and protocol headers set by the proxy are only meaningful when the web container accepts them from that proxy. Configure the proxy to overwrite incoming forwarding headers rather than pass client-supplied values through, and restrict trusted sources to the proxy's address. Test this with a request that sends a spoofed header and confirm the application logs the real client address.
Apply rate limits and access rules at the edge
The proxy is the right place for request rate limits, IP allow lists for administrative paths and blocking of unneeded paths. Decide which routes must stay reachable for guests and which should be restricted to your network or VPN. Test the rules against normal meeting joins, because overly strict limits can block legitimate users behind shared addresses. Confirm the rule set with your Jitsi version before relying on it.
Accept that UDP 10000 bypasses the proxy
Media travels over UDP 10000 directly to the videobridge, so the proxy never sees audio or video. Firewall rules must allow that port from the internet while keeping everything else closed, and the bridge host should be hardened as an internet-facing service. Jitsi encrypts media on the network with DTLS-SRTP, per jitsi.org, and the videobridge decrypts packets in memory while routing them and does not store them. Treat the bridge as a sensitive host even though recordings are not kept there.
- Media port
- 10000/UDP
Version control the proxy configuration
Store nginx or Apache configuration, the compose overrides and the Jitsi .env template in a repository with reviewed changes. This makes it possible to see who changed a header rule, a route or a port, and to reproduce the proxy after a rebuild. Keep secrets such as generated passwords out of the repository and store them in your secrets manager. Ask your team to review proxy changes against the Jitsi upgrade notes.
Questions teams ask before running Jitsi behind their proxy
Does the reverse proxy have to terminate TLS for Jitsi Meet?
Not always, but the browser must still reach Jitsi over HTTPS with a certificate the browser and mobile apps trust. Many teams let the existing proxy terminate TLS and disable HTTPS inside the web container, so the proxy forwards plain HTTP to the internal web service. Confirm this with the Docker guide for your release, and check that the forwarded headers reach Jitsi so links and WebSocket upgrades are built correctly. Self-signed certificates cause problems, especially with mobile clients, so the certificate on the proxy should come from a public or internally trusted CA that devices already accept.
Why does video fail when only port 443 is open?
Because a reverse proxy carries the web app, signaling and WebSocket traffic over TCP, but audio and video travel as UDP media. Jitsi sends media through the videobridge on 10000/UDP, which is not an HTTP request, so an nginx or Apache proxy cannot forward it. The Debian quick start lists 80/TCP, 443/TCP and 10000/UDP as required ports, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional. Participants can load the page and still see no video or hear no audio if 10000/UDP is blocked by the firewall or NAT.
Can the proxy carry the media traffic too?
No. The proxy is for HTTP and WebSocket traffic only, so the videobridge must be reachable directly on UDP 10000 from participants. That port must be open to the internet or to the networks that need to join, which is a deliberate exposure you plan for. Jitsi encrypts audio and video with DTLS-SRTP on the network, and the videobridge decrypts packets in memory while routing them. Your network team should confirm the firewall rules, NAT mappings and any advertised address settings before go-live.
How much effort does a reverse proxy configuration take, and what does it need from our team?
The effort depends on how many services already sit behind your proxy, how many domains you serve, and how your certificates are issued. The work includes a proxy virtual host for the Jitsi domain, forwarding to the web container, WebSocket upgrade rules, header handling, and firewall changes that keep Jitsi's internal ports off the public network. Your team needs someone who manages the proxy, someone who owns DNS and firewall rules, and a test plan that uses real browsers and mobile clients. No figure applies to every environment, so ask your team to inventory these dependencies before estimating.
Do we need a partner to set this up, or can our own team do it?
Your team can do it if it already runs reverse proxies, certificates and firewall changes for other internal services and has time to test media end to end. A partner usually adds value when the proxy is shared by many applications, when the network has NAT or split-horizon complexity, or when the work must be documented for an audit. DeployOpen plans, implements, tests and documents self-hosted Jitsi inside your own infrastructure under a written, fixed scope, so you can compare that scope against what your team can staff.
Will proxy settings need changes when we upgrade Jitsi?
They can. Upgrades may change container names, exposed ports, environment variables or the directories the containers use, and some releases change how the containers run. Since release stable-11146, the Docker containers run rootless with read-only filesystems, so proxy or volume settings written for an older release may need review. Before each upgrade, read the release notes, compare your proxy configuration with the current Docker guide, and retest WebSocket connections and video from outside your network. Ask any partner whether upgrade testing is included in the fixed scope or sold as a retainer.
What happens to the proxy if we expose Jitsi ports publicly by mistake?
Exposing internal Jitsi ports bypasses the proxy and the access controls placed in front of it. The Docker guide advises against publicly exposing Jitsi's internal ports, so the web, Prosody and Jicofo services should be reachable only through the proxy network, while the videobridge's UDP port remains the one deliberate public exposure. Test from outside the network with a port scanner or an external check, and record the result as evidence for your security review.
Limits to confirm in your environment before go-live
A reverse proxy in front of Jitsi changes how traffic, certificates and connections behave, and some of the path stays outside it. The cards below list the points to confirm against the vendor documentation for your release and against your own testing before users depend on the service.
Docker key names for your release
The Docker guide documents the settings that disable HTTPS in the web container and control WebSocket behavior, but the exact key names and examples can change between releases. Confirm each key in the .env file against the guide for the release you deploy, and record the release tag in your change log. Do not copy settings from older blog posts or forum answers without checking them against that release.
Proxy version and module support
Confirm that your nginx or Apache version, and any modules you load such as ModSecurity, header rewriting or caching, support the WebSocket upgrade and the header handling the web app depends on. Security modules that inspect or rewrite requests are a common cause of failed joins. Test the exact proxy build you run in production, not a lab copy with different modules.
Outbound and inbound UDP 10000
Media on UDP 10000 does not pass through the HTTP proxy, so the videobridge port must be reachable directly. Confirm with your network team that inbound UDP 10000 reaches the videobridge host and that outbound UDP is permitted for clients on restricted networks. If the port is blocked, participants may connect with degraded audio and video or not at all, and the proxy will not show the problem.
- Media port
- 10000/UDP
Certificates for mobile clients
The handbook states that HTTPS with a certificate for your domain is necessary for working audio and video, and that self-signed certificates cause problems, especially on mobile clients. Confirm that the certificate installed at the proxy is publicly trusted for your domain, that the full chain is served, and that renewal works. Test on iOS and Android apps, not only desktop browsers.
Debian quick startLong-lived connections and timeouts
Meetings keep WebSocket connections open for their full length, so proxy idle timeouts and read timeouts can drop participants in the middle of a call. Check the timeout values your proxy applies to upgraded connections, and check any load balancer in front of it. Run a meeting longer than your longest expected session and watch for silent disconnects.
Compliance boundary for the proxy host
The proxy terminates TLS and sees connection metadata, so it may fall inside your compliance boundary even though media does not pass through it. Ask your compliance lead whether the proxy host, its logs and its certificate keys are in scope for the controls you must evidence. Confirm where access logs are stored, how long they are kept, and who can read them. DeployOpen prepares evidence for assessments, but the assessor decides scope.
What a DeployOpen engagement covers for a proxied Jitsi
A DeployOpen engagement for a proxied Jitsi starts with a written scope that names every hop a browser or mobile client touches: the DNS record, the existing nginx or Apache front end, the Jitsi web container, the signaling path that carries WebSocket and BOSH traffic to Prosody, and the UDP 10000 media path to the videobridge. The scope also records which controls are in the client's hands and which are DeployOpen's, such as certificate issuance, load balancer rules, firewall policy and the .env settings that disable HTTPS inside the web container. Scope, deliverables and timelines are agreed in writing before any work begins, so the proxy team and the Jitsi team sign off on the same document.
DeployOpen works alongside the client's network, platform and security teams rather than replacing them. In practice that means reviewing the existing reverse proxy configuration, agreeing which ports are reachable from outside and which stay internal, and confirming who owns the TLS certificate and its renewal. Where the client runs a central proxy for many services, the team agrees how Jitsi routes are isolated from other applications and how changes to proxy configuration are reviewed and logged. Anything that depends on the client's own policy, such as allowed source networks or change windows, should be confirmed with those teams during scoping rather than assumed.
Testing covers both paths separately, because a passing page load proves very little about a working call. Signaling is checked from several browsers and a mobile client through the proxy, including WebSocket upgrade behavior and the fallback chosen when WebSockets are disabled. Media is checked from networks that are not inside the client's perimeter, since UDP 10000 bypasses the proxy and fails silently when the firewall or NAT is wrong. The final report lists each test, the observed result, the fixes made and a retest record. Ask any provider to show the test cases for both paths before you sign.
How DeployOpen scopes and supports Jitsi reverse proxy work
DeployOpen plans, builds, documents and supports self-hosted Jitsi Meet inside your own infrastructure, including the nginx or Apache layer that sits in front of it. Each engagement starts from a written scope that names your existing proxy, your network boundary and the ports that must stay private.
How we scope
- Inventory your existing nginx or Apache setup, certificate handling and which hostnames already route to other services.
- Confirm which Jitsi ports stay internal and which must be reachable from the internet, including UDP 10000 for media.
- Agree in writing whether WebSocket proxying, HTTP/2 and the TLS termination point are in or out of the fixed scope.
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts. Ongoing support is available as a retainer.
How we build
- Configure the Jitsi Docker web container with HTTPS disabled so the proxy handles all certificate termination.
- Write proxy rules for the web app and WebSocket endpoints, and confirm the Prosody and bridge paths behave as documented.
- Restrict published container ports to the proxy and firewall rules, then verify that only the intended ports answer externally.
- Test with real browsers and mobile clients, including a call with three or more participants to check media on UDP 10000.
How we hand over
- Provide the working proxy configuration files, the Docker settings changed from defaults, and a record of each firewall rule.
- Document which traffic bypasses the proxy and why, so future changes to the proxy do not break media paths.
- Walk your operations team through the verification checks and the steps to confirm a configuration after an update.
- Deliver a runbook covering certificate renewal points, log locations and the rollback path for the proxy layer.
How we support
- Retest the proxy setup after Jitsi releases or changes to your nginx or Apache version, and report any drift from the agreed design.
- Support upgrades to the Docker images and proxy configuration as a retainer, with changes tracked against the handover documents.
- Review network exposure periodically, including open ports and certificate chains, so the setup stays aligned with your security policy.
- Ask any provider, including DeployOpen, to confirm in writing which proxy versions, ports and support hours apply to your environment.

