8234e2ec05
- Move coordinator/, frontend/, Caddyfile, pyproject.toml, requirements.txt, docs/ into muxplex/ subdir in prep for packaging/sharing - Add brand assets to frontend/: favicon.ico, pwa-192/512.png, apple-touch-icon.png, wordmark-on-dark.svg - Update app: title → muxplex, header → wordmark SVG, brand color tokens in style.css, manifest.json updated with muxplex name and brand icons - Add design system: assets/branding/tokens.css (101 CSS custom properties), tokens.json (127 tokens), DESIGN-SYSTEM.md (856-line spec) - Add assets/branding/: SVG sources, rendered PNGs (icons, favicons, PWA, OG) - Add scripts/render-brand-assets.py for reproducible PNG generation - Add muxplex/README.md
12 lines
472 B
Caddyfile
12 lines
472 B
Caddyfile
:8088 {
|
|
# WebSocket to ttyd: strip /terminal prefix so /terminal/ws reaches ttyd's /ws endpoint.
|
|
# ttyd only registers the 'tty' WebSocket protocol handler at /ws — not at /terminal/ws.
|
|
# handle + uri strip_prefix rewrites /terminal/ws → /ws before the reverse_proxy sees it.
|
|
handle /terminal/* {
|
|
uri strip_prefix /terminal
|
|
reverse_proxy localhost:7682
|
|
}
|
|
# All other requests (static files, API) → coordinator (port 8099)
|
|
reverse_proxy * localhost:8099
|
|
}
|