chore: remove dead Caddyfile
This commit is contained in:
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user