feat(caddy): route /api to the conversations frontend
This commit is contained in:
@@ -30,4 +30,11 @@
|
|||||||
handle_path /md/* {
|
handle_path /md/* {
|
||||||
reverse_proxy host.docker.internal:62993
|
reverse_proxy host.docker.internal:62993
|
||||||
}
|
}
|
||||||
|
# API разговоров + SSE для панели плагина: handle, не handle_path -
|
||||||
|
# приложение само живёт под /api/…
|
||||||
|
handle /api/* {
|
||||||
|
reverse_proxy host.docker.internal:62994 {
|
||||||
|
flush_interval -1
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user