Creates a proxy middleware which proxies the given route to the given port. Useful for plugins which start their own servers but should be accessible via the main Vendure url.
Example
Parameters
ProxyOptionsOptions to configure proxy middleware via createProxyHandler.
stringA human-readable label for the service which is being proxied. Used to generate more informative logs.
stringThe route of the Vendure server which will act as the proxy url.
numberThe port on which the service being proxied is running.
string'localhost'The hostname of the server on which the service being proxied is running.
stringAn optional base path on the proxied server.