Httpd BalancerMember: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
<pre>
<pre>
BalancerMember [balancerurl] url [key=value [key=value ...]]
BalancerMember [balancerurl] url [key=value [key=value ...]]
</pre>
=Example=
<pre>
ProxyPass "/example" "balancer://mycluster/"
<Proxy balancer://mycluster>
    BalancerMember http://node1/
    BalancerMember http://node2/
</Proxy>
</pre>
</pre>

Revision as of 03:11, 23 December 2016

External

Internal

Overview

Adds a member to a load balancing group. It can be used with a <Proxy> container directive and can take any of the key-value pair parameters available to ProxyPass.

Syntax

BalancerMember [balancerurl] url [key=value [key=value ...]]

Example

ProxyPass "/example" "balancer://mycluster/"

<Proxy balancer://mycluster>
    BalancerMember http://node1/
    BalancerMember http://node2/
</Proxy>