an http reverse proxy using cowboy and gun
This project came about while performing and incremental re-write of an old API. The initial plan was to allow enablind/disabling proxying routes via an API. Said API never really materialized, but routing based on HTTP method and blue-green deployments have.
This project uses erlang.mk
Running the tests
Personally I like to run the tests on a loop while developing, so
behaviour of not treating warnings (like unused variables) is annoying. To disable it
MODE env variable and set it to
development. TravisCI builds without this, so
there's a safety net.
You can use the published docker images or build the release yourself.
The image is published to docker rciorba/feature_flag_proxy.
The image will by default read the config from
/rel/config.json. To change that set
FFP_CONFIG environment variable.