1. Proxies and Flow

proxy

Version

Clients can send HTTP requests to a proxy that forward the request to a Web server. It acts on behalf of the client.

Syntax

proxy:
'$ref': <string>
flow:
- <flow>
ip: <string>
name: <string>
port: <number>
ssl: {}
proxy:
  '$ref': <string>
  flow:
    - <flow>
  ip: <string>
  name: <string>
  port: <number>
  ssl: {}

Sample

<proxy name="HTTP Proxy" port="3128" >
<transform xslt="strip.xslt"/>
<switch>
<case xPath="//convert" url="http://www.thomas-bayer.com/axis2/" />
</switch>
</proxy>
<proxy name="HTTP Proxy" port="3128" >
  <transform xslt="strip.xslt"/>
  <switch>
    <case xPath="//convert" url="http://www.thomas-bayer.com/axis2/" />
  </switch>
</proxy>

Attributes

NameRequiredDefaultDescriptionExamples
$reffalse-Reference a component defined under components.-
ipfalsenot setIf present, binds the port only on the specified IP. Useful for hosts with multiple IP addresses.127.0.0.1
namefalseBy default, a name will be automatically generated from the target host, port, etc.The name as shown in the Admin Console.-
portfalse80The port Membrane listens on for incoming connections.8080

Child Structure

ElementCardinalityDescription
flow0..*
ssl0..1Configures inbound or outbound SSL connections.

Can be used in