Run LMArena Bridge behind a reverse proxy in production to terminate SSL, expose a custom domain, and keep portDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/lmarenabridge/llms.txt
Use this file to discover all available pages before exploring further.
8000 off the public internet.
Why proxy_buffering off is required
LMArena Bridge streams responses using Server-Sent Events (SSE). By default, nginx buffers the upstream response body before forwarding it to the client. With SSE, this means chunks are held in the buffer and never delivered until the stream ends — which breaks streaming entirely.
Setting proxy_buffering off and proxy_cache off forces nginx to forward each chunk to the client as soon as it arrives from the upstream.
Nginx
Create a server block with SSL and the required streaming directives:/etc/nginx/sites-available/lmarenabridge
Caddy
Caddy handles SSL certificates automatically via Let’s Encrypt. Add a block to yourCaddyfile:
Caddyfile
flush_interval -1 directive tells Caddy to flush each response chunk immediately, which is equivalent to disabling buffering for SSE streams.
Caddy provisions and renews TLS certificates automatically. No manual certificate management is needed.