Example proxy_balancer in front of Redmine server

This is a working example of mod_proxy_balancer configuration in front of Redmine http server (puma thin ot something else).

# $Id: httpd-proxy-mongrel.conf 661 2013-09-14 13:38:10Z imc $
# Redmine configuration behind Apache 2.4.x and mongrel/thin/puma…

# Loading mod_lbmethod_byrequests, mod_proxy, mod_proxy_http and mod_proxy_balancer

# If other load balancing scheduler algorithm is needed other modules could be loaded too: mod_lbmethod_bytraffic,
# mod_lbmethod_bybusyness and mod_lbmethod_heartbeat. All of these can be loaded and then one of the algorithm
# could be selected by ProxySet directive.

<IfModule !mod_lbmethod_byrequests.c>
LoadModule lbmethod_byrequests_module lib/modules/mod_lbmethod_byrequests.so
<IfModule !mod_proxy.c>
LoadModule proxy_module lib/modules/mod_proxy.so
<IfModule !mod_proxy_http.c>
LoadModule proxy_http_module lib/modules/mod_proxy_http.so
<IfModule !mod_proxy_balancer.c>
LoadModule proxy_balancer_module lib/modules/mod_proxy_balancer.so

<Directory E:/data/redmine/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require ip 192.168.20

<Proxy *>
Require ip 192.168.20

ProxyPass / balancer://redmine_cluster/
ProxyPassReverse / balancer://redmine_cluster/

<Proxy balancer://redmine_cluster>
BalancerMember http://redmine.mycompany.com:3001
BalancerMember http://redmine.mycompany.com:3002
BalancerMember http://redmine.mycompany.com:3003
ProxySet lbmethod=byrequests