- Accept HTTP request (dynamic url)
- Forward that HTTP request to 1 or more destinations
- Everything is configurable
Look at example.config.json
uri
is the endpoint to accept HTTP requestforwardTo
is an array of endpoints of destination to forward the HTTP request totype
is used to handle HTTP request that requires respond such as webhook validationtags
are not used, its simply to tell you what is that particular entry about
- Run
go build
- Copy systemd unit file
example.envoi.service
to/etc/systemd/system
- Configure unit file accordingly
- Copy
example.config.json
and rename toconfig.json
- Configure
config.json
accordinngly
IMPORTANT: Make sure envoi
binary file is in the same directory as config.json