This guide covers an existing docker-jitsi-meet installation behind an already configured Nginx, Traefik or Caddy edge. It separates public TLS, the private web backend and media transport. Choose one proxy topology rather than combining every example. [S1][S4][S5][S6]
Reviewed baseline: docker-jitsi-meet stable-11248-2, commit 74d3e6e, checked 24 October 2026. The Compose examples were processed locally with Compose 5.0.2; the !override tag requires Compose 2.24.4 or later. No complete live proxy/Jitsi deployment was tested for this revision. [S1][S2]
1. Choose the TLS and network topology
| Topology | Proxy’s backend address | Web-port publication |
|---|---|---|
| Nginx or Caddy on the Docker host | http://127.0.0.1:8000 in this example |
Replace with one loopback mapping |
| Traefik on a shared Docker network | Web container port 8000 |
Remove web host-port mappings |
| Proxy on another machine | A deliberately secured reachable backend | Separate network/TLS design required |
Here the public edge owns the certificate for meet.example.com, terminates HTTPS and forwards HTTP over the same host or a controlled Docker network. This plaintext-backend profile is not a recommendation to send unprotected backend traffic across an untrusted network. If you choose upstream HTTPS instead, keep backend TLS enabled and validate its certificate; do not copy the HTTP-only flags unchanged. [S1][S3][S4][S5][S6]
Back up the existing project and persistent configuration. Keep authentication settings, service passwords, mounts and release image choices intact. Plan an interruption before applying networking changes; the upgrade preparation guide explains state preservation. [S1]
2. Configure the HTTP-backend profile
Edit only these relevant values in your existing .env: [S1]
DISABLE_HTTPS=1
ENABLE_HTTP_REDIRECT=0
ENABLE_LETSENCRYPT=0
PUBLIC_URL=https://meet.example.com
HTTP_PORT=8000
HTTPS_PORT=8443The reviewed container serves HTTP on 8000; DISABLE_HTTPS=1 removes its HTTPS server block. HTTPS_PORT remains an input in the base release file, but the overrides below remove its host publication. Keeping container HTTP redirects off avoids sending this backend request back to public HTTPS. [S1]
PUBLIC_URL is the address users actually open, not the proxy’s upstream address. If public HTTPS really uses 8443, include that public port; if public HTTPS uses 443, do not append an internal 8000 or 8443 just because the backend uses it. The release’s environment example explicitly supports a non-standard public HTTPS port. Check the browser-served configuration after the change. [S1]
This profile leaves built-in ACME off because the edge owns public certificates. The pinned built-in client uses standalone HTTP validation on container port 8000 and only runs its certificate setup when container HTTPS is enabled. Other architectures can forward a challenge to a compatible responder, but require a separate issuance and renewal design. Do not claim a proxy makes that universally impossible, or enable two competing certificate owners without planning their ports and state. [S1][S7]
Use certificate setup or certificate diagnostics for the chosen architecture. Keep renewal storage persistent and verify later renewal, not just first issuance. [S7]
3. Replace the web-port mappings explicitly
Keep the upstream release file intact and add one selected overlay. Preserve any existing project, environment files, profiles and overlays in the commands; apply the selected port replacement last, then inspect the complete result. A later overlay can change it again. [S2]
Host proxy: loopback publication
Save as compose.proxy-host.yaml: [S1][S2][S3]
services:
web:
ports: !override
- '127.0.0.1:${HTTP_PORT:-8000}:8000'Validate the selected model and print only its web-port mappings. These commands do not start containers. They assume Python 3 and the base filename shown; retain your actual project’s options. Do not publish the full rendered configuration, which can include credentials. [S2][S8]
docker compose -f docker-compose.yml -f compose.proxy-host.yaml config --quiet
docker compose -f docker-compose.yml -f compose.proxy-host.yaml config --format json |
python3 -c 'import json,sys; print(json.dumps(json.load(sys.stdin)["services"]["web"].get("ports", []), indent=2))'For the sample values, the result should contain one TCP mapping to container 8000 from host 127.0.0.1:8000, with no extra public web or HTTPS mapping. !override replaces the list rather than appending to it. Inspect IPv4/IPv6 and any later overrides too. Loopback publication is one control, not a full network-security audit. [S2][S3]
Docker proxy: no web host publication
For an existing Traefik installation on an external Docker network named proxy, save this alternative as compose.proxy-traefik.yaml. Replace the hostname, network, entrypoint and certificate-resolver names with your existing configuration. The proxy network must already exist and Traefik must be attached. [S1][S2][S6]
services:
web:
ports: !override []
labels:
traefik.enable: "true"
traefik.docker.network: "proxy"
traefik.http.routers.jitsi.rule: "Host(`meet.example.com`)"
traefik.http.routers.jitsi.entrypoints: "websecure"
traefik.http.routers.jitsi.tls: "true"
traefik.http.routers.jitsi.tls.certresolver: "letsencrypt"
traefik.http.routers.jitsi.service: "jitsi"
traefik.http.services.jitsi.loadbalancer.server.port: "8000"
networks:
meet.jitsi: {}
proxy: {}
networks:
proxy:
external: trueValidate and inspect this topology instead of the host-proxy overlay: [S2][S8]
docker compose -f docker-compose.yml -f compose.proxy-traefik.yaml config --quiet
docker compose -f docker-compose.yml -f compose.proxy-traefik.yaml config --format json |
python3 -c 'import json,sys; print(json.dumps(json.load(sys.stdin)["services"]["web"].get("ports", []), indent=2))'The web-port list should be empty. The shared network still allows Traefik to reach the web container’s 8000 port; Jitsi’s internal network remains attached. These labels do not install or secure Traefik itself. Traefik supports WebSocket forwarding, but you still need the right router, network, port and certificate resolver. [S3][S6]
Do not substitute a plain ports: [] or a newly appended loopback mapping and assume the base public mappings disappeared. Our local Compose fixtures demonstrate that difference. If your Compose version rejects !override, update or deliberately maintain a complete reviewed Compose file; do not silently remove the tag. [S2]
4. Host Nginx or Caddy examples
Nginx
The following is a configuration fragment for an existing Nginx http context. Adapt the existing virtual host, preserve its certificate-renewal/challenge routes, and replace the example certificate paths with valid managed files. It does not bootstrap certificates or replace an entire Nginx installation. [S4][S7]
map $http_upgrade $jitsi_connection_upgrade {
default upgrade;
'' close;
}
server {
listen 443 ssl;
server_name meet.example.com;
ssl_certificate /etc/letsencrypt/live/meet.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/meet.example.com/privkey.pem;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $jitsi_connection_upgrade;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}This location preserves ordinary requests and upgrade forwarding across the web routes, including an enabled whiteboard /socket.io/ path. For another trusted edge ahead of Nginx, review client-IP/header handling for that topology. Do not trust arbitrary forwarded identity headers merely because they are present. [S1][S4]
Check syntax with sudo nginx -t before a separately planned reload. Timeouts depend on upstream traffic and the transport; correlate a drop with the actual timeout and ping behavior rather than assuming a larger value fixes every meeting. This fragment has not been deployed against a live Jitsi server in this revision. [S4]
Caddy
For Caddy on the host, the corresponding minimal site is: [S5]
meet.example.com {
reverse_proxy 127.0.0.1:8000
}Caddy handles WebSocket forwarding and its automatic HTTPS feature can manage public certificates when its DNS, challenge reachability and persistent storage requirements are met. If Caddy runs inside Docker, 127.0.0.1 refers to that container; use a reachable backend on a shared network instead. [S3][S5]
Caddy documents that config reloads can close WebSocket connections; stream_close_delay can defer that closure. Do not describe a delay as a guarantee that meetings survive every reload. Validate the complete configuration with your installed Caddy version and schedule any reload separately. [S5]
5. Apply the selected configuration in a maintenance window
After reviewing the effective model and the chosen proxy configuration, use the same complete file list to apply it. For the host-proxy example only: [S8]
docker compose -f docker-compose.yml -f compose.proxy-host.yaml up -dFor Traefik, substitute its selected overlay and preserve your other project options. Compose recreates changed services; a plain restart does not apply changed environment values. Do not run down as a prerequisite for this change, regenerate service passwords or discard persistent data. [S1][S8]
6. Verify signalling, certificate renewal and media separately
The pinned web template configures /xmpp-websocket when enabled, plus BOSH /http-bind; optional whiteboard collaboration adds /socket.io/ when its backend proxy is configured. Inspect actual browser requests and generated URLs rather than testing only the homepage. The reviewed base templates do not define the old /colibri-ws/ route; inventory an older/customized deployment before deleting routes. [S1]
Use the bounded upgrade probe and browser checks. Its HTTP/1.1 101 proves only an upgrade for that request, not authentication, XMPP stream health or media. Do not reuse malformed nonce examples or treat every HTTP error as proof that headers were dropped. [S9]
A normal HTTP reverse proxy does not forward the JVB’s UDP media merely because web/signalling work. The reviewed default is JVB_PORT=10000, but check the actual listener, published port, NAT mapping and advertised candidates. Use reachable addresses appropriate to your public or private topology; a public IP is not the answer to every deployment. [S1][S10]
TURN can relay traffic, and layer-4 proxying or TURN/TLS routing is a different design from HTTP reverse_proxy/proxy_pass. A working three-person call does not prove direct UDP 10000 was selected. Inspect the selected media path and relay use, then follow bridge diagnostics and TURN guidance. [S10]
Acceptance checks on a non-production setup:
- The public origin serves a trusted certificate and the intended app/configuration.
- Unintended direct access to web backend host ports is absent under the chosen topology.
- Actual signalling routes sustain the connection, and intended authentication/lobby rules work.
- Enabled whiteboard collaboration works across clients, including its WebSocket route.
- Relevant two-person and multi-person media paths work, with selected candidates recorded privately.
- Certificate renewal and later proxy/config reload behavior are verified separately.
These are proposed deployment checks, not results measured here. If a check fails, use disconnect diagnostics or whiteboard diagnostics for the affected path. [S1][S4][S5][S9][S10]
Troubleshoot without guessing
| Symptom | Evidence to inspect |
|---|---|
502 after an upgrade |
Actual host/container port, scheme, network reachability and upstream state |
| Redirect loop | Which layer emits the redirect and the effective HTTP-backend flags |
| URLs point to a private or wrong origin | PUBLIC_URL, browser-served config and any custom overrides |
| Meeting signalling works, whiteboard does not | Enabled collaboration backend and /socket.io/ route |
| Calls fail on a different network or participant count | Selected media candidates, bridge path and relay behavior |
| Certificate issue or renewal fails | The chosen certificate owner, challenge routing and persistent state |
| No expected log entry | Logging scope, component and time window; absence alone does not locate a block |
Keep tokens, cookies, credentials and private room links out of shared logs/configuration. Share sanitized versions, topology, selected port mappings and error categories instead. [S1][S7][S9][S10]
Debian and Ubuntu package differences
These Docker environment values and overlays do not configure package installations. Packages have their own Nginx, Prosody and Jicofo configuration; inspect actual listeners and service files before adding another proxy on the same public ports. Use the package installation documentation and a separate topology-specific plan. This page does not claim its Docker snippets are interchangeable with package configuration. [S11]
Open questions and maintenance
We processed the actual pinned Compose file with both overlays, checked environment/port/network/label propagation and demonstrated unsafe append/plain-empty merge cases. No containers, external networks, proxy servers or certificates were created, and no live Jitsi, TLS issuance/renewal, media, whiteboard or reload test was completed. Nginx/Caddy snippets and Traefik labels were source-reviewed; they are not a full running-proxy validation.
Recheck after Docker port/template, Compose merge, proxy or certificate-client changes. Preserve the overlay and its complete startup file list during upgrades, then review the resulting model again. For engineering help, contact us with sanitized topology and failed verification steps.
Sources
Reviewed 24 October 2026; source snapshots describe their pinned files, not every installed image.
- [S1] Docker stable-11248-2, Compose, environment example, web server template, system config, web routes and certificate startup.
- [S2] Compose merge rules and !override: replacement versus appended resources and minimum version.
- [S3] Docker port publishing: loopback bindings and network access.
- [S4] Nginx WebSocket forwarding, proxy module and command-line syntax check.
- [S5] Caddy reverse_proxy and automatic HTTPS: upstream addresses, WebSockets, reload behavior and certificate prerequisites.
- [S6] Traefik Docker provider and expose overview: labels, selected port/network and WebSocket support.
- [S7] Let’s Encrypt challenges and Jitsi Docker handbook: challenge ownership and deployment context.
- [S8] Docker Compose config, up and restart: model checks, applying changes and environment handling.
- [S9] RFC 6455 and RFC 7395: upgrade and XMPP stream are distinct stages.
- [S10] Pinned JVB template, Jitsi TURN guide and ICE standard: candidates, relay paths and media topology.
- [S11] Jitsi package installation: service and configuration context.