Proxy

This endpoint variant will forward all requests that terminate the config entry. For example, with the following config:

routes:
  api:
    proxy:
      url: http://localhost:8081

A user request to localhost:8080/api/health will return back the response from http://localhost:8081/health.

Proxy Endpoint Details

NameDescriptionValue
proxy.urlURL for remote server""
proxy.authenticationEnable the sending of credentials to remote server{}
proxy.timeoutEndpoint timeout after connection is establishedu64
proxy.security.clientEnable client authentication{}
proxy.security.whitelist.networksEnable network whitelisting[]
proxy.security.whitelist.methodsEnable method authentication[]
proxy.config.preserve_host_headerRetain original client HOST header{}