Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default the proxy only works for outbound connections to URLs configured in the connection-routing-yml file. All other requests are blocked. Setting the environment variable PROXY_ALLOW_UNKNOWN_TARGETTARGETs to true allows requests to be proxied to all target URLs.

...

The proxy application exposes endpoints to relay HTTP GET, POST, PUT, DELETE, PATCH and HEAD requests. Only requests to outbound servers that are configured
in the connection-routing.yml configuration file are allowed by default. This behavior can be controlled by the environment variable PROXY_ALLOW_UNKNOWN_TARGETS.

Usage

Request sent to the endpoint /proxy/stream with a Request Parameter named target are proxied. The target request parameter has to be set to an outbound
server URL. The outbound server URL has to be url encoded. Responses from the outbound server are streamed through the proxy back to the user-agent.

...

Name

Value

PROXY_ALLOW_UNKNOWN_TARGETS

Control if the proxy allows requests to URLs not configured in the connection-routing.ym file.

Possible values: true or false

PROXY_GATEWAY_LOG_LEVEL

Control the log verbosity. The default logging level is INFO

Possible values: WARN, INFO, DEBUG

Links:

Connection Routing