harb/containers/Caddyfile

22 lines
440 B
Caddyfile

:80 {
route /app* {
reverse_proxy webapp:5173
}
route /api/graphql* {
header Cache-Control "public, max-age=5"
uri strip_prefix /api
reverse_proxy ponder:42069
}
route /health* {
reverse_proxy ponder:42069
}
route /api/rpc* {
uri strip_prefix /api/rpc
reverse_proxy anvil:8545
}
route /api/txn* {
uri strip_prefix /api/txn
reverse_proxy txn-bot:43069
}
reverse_proxy landing:5174
}