Httpd Proxy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 45: Line 45:
For details on various methods, see:
For details on various methods, see:


 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
 
:[[Httpd_mod_proxy_Concepts#Load_Balancing|Load Balancing Methods]]
[[Httpd_mod_proxy_Concepts#Load_Balancing|Load Balancing Methods]]
</blockquote>

Revision as of 00:37, 3 January 2017

External

Internal

Overview

Container directive for directives applied to proxied resources. Directives placed in <Proxy> sections apply only to matching proxied content.

Matching

A backend URL matches the configuration section of a <Proxy> container directive if it begins with the wildcard-url string, even if the last path segment in the directive only matches a prefix of the backend URL. For example <Proxy "http://example.com/a"> matches "http://example.com/a/b". This behavior differs from the behavior of <Location>.

Syntax

<Proxy wildcard-url>
   ...
</Proxy>

<Proxy> and Balancer Workers

If the Proxy directive scheme starts with "balancer://", the directive defines the members of a virtual worker that balances amongst its members. For more details see:

mod_proxy Concepts - Balancer Workers

Balancer Configuration Reference

lbmethod

Defines the load balancing scheduler method to use. Available options:

  • byrequests
  • bytraffic
  • bybusyness

The default value is "byrequests".

For details on various methods, see:

Load Balancing Methods