diff --git a/Caddyfile b/Caddyfile deleted file mode 100644 index 8b2f6bd..0000000 --- a/Caddyfile +++ /dev/null @@ -1,11 +0,0 @@ -: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 -}