add tester ui, and restructure folders
This commit is contained in:
@@ -4,6 +4,22 @@
|
||||
}
|
||||
|
||||
eth.local.ar:80 {
|
||||
# API surface for the local Lambda tester (FastAPI in the lambda pod).
|
||||
# Path-based is fine for our own API — no SPA assumes ownership of `/`,
|
||||
# and a single origin means no CORS headaches with the frontend at /.
|
||||
handle_path /runner/* {
|
||||
reverse_proxy lambda:8000
|
||||
}
|
||||
|
||||
# Everything else → static docs viewer (the frontend lives here too).
|
||||
handle {
|
||||
reverse_proxy docs:80
|
||||
}
|
||||
}
|
||||
|
||||
docs.eth.local.ar:80 {
|
||||
# Serve /docs.html for the root path; everything else (graphs, viewer.html) passes through.
|
||||
rewrite / /docs.html
|
||||
reverse_proxy docs:80
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user