mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
49 lines
872 B
Caddyfile
49 lines
872 B
Caddyfile
{
|
|
{{ if .Debug }}debug{{ end }}
|
|
}
|
|
|
|
:8080 {
|
|
{{- if .EnableOpenTelemetry }}
|
|
tracing {
|
|
span gateway
|
|
}
|
|
{{- end }}
|
|
log {
|
|
output stdout
|
|
{{- if .Debug }}
|
|
level DEBUG
|
|
{{- end }}
|
|
}
|
|
|
|
handle /connectors* {
|
|
reverse_proxy payments-connectors:8080
|
|
}
|
|
handle /connectors/webhooks* {
|
|
reverse_proxy payments-connectors:8080
|
|
}
|
|
handle /configs* {
|
|
reverse_proxy payments-connectors:8080
|
|
}
|
|
|
|
@bank-accounts {
|
|
path /bank-accounts*
|
|
method POST PATCH
|
|
}
|
|
|
|
handle @bank-accounts {
|
|
reverse_proxy payments-connectors:8080
|
|
}
|
|
|
|
@transfer-initiations {
|
|
path /transfer-initiations*
|
|
method DELETE POST
|
|
}
|
|
|
|
handle @transfer-initiations {
|
|
reverse_proxy payments-connectors:8080
|
|
}
|
|
|
|
handle /* {
|
|
reverse_proxy payments-read:8080
|
|
}
|
|
} |