Files
backstage/plugins/proxy-backend
Dan Hoizner a30d2e8df5 feat(plugin-proxy-backend): revive request bodies
in order to support proxying requests with bodies that have previously
been consumed in a middleware, the proxy config can now specify
`reviveRequestBody: true` in order to propagate the previously consumed
body to the proxied request.

Signed-off-by: Dan Hoizner <dan.hoizner@gmail.com>
2023-02-08 15:34:20 -05:00
..
2023-02-07 15:03:45 +00:00
2023-02-07 15:03:45 +00:00
2020-08-28 14:36:13 +02:00

Proxy backend plugin

This is the backend plugin that enables proxy definitions to be declared in, and read from, app-config.yaml.

Relies on the http-proxy-middleware package.

Getting Started

This backend plugin can be started in a standalone mode from directly in this package with yarn start. However, it will have limited functionality and that process is most convenient when developing the plugin itself.

The proxy is already installed in the Backstage backend per default, so you can also start up the full example backend to experiment with the proxy.

yarn workspace example-backend start

Configuration

See the proxy docs.