ruleMatching

Version

Selects and assigns the matching proxy rule for incoming requests; optionally adds/extends X-Forwarded-* headers.

Syntax

ruleMatching:
maxXForwardedForHeaders: <number>
xForwardedForEnabled: <boolean>
ruleMatching:
  maxXForwardedForHeaders: <number>
  xForwardedForEnabled: <boolean>

Sample

<beans>
<transport coreThreadPoolSize="20">
<ruleMatching />
<dispatching />
<userFeature />
<httpClient />
</transport>
</beans>
<beans>
  <transport coreThreadPoolSize="20">
    <ruleMatching />
    <dispatching />
    <userFeature />
    <httpClient />
  </transport>
</beans>

Attributes

NameRequiredDefaultDescriptionExamples
maxXForwardedForHeadersfalse---
xForwardedForEnabledfalse---

Can be used in