Feature #6711 » httpd-proxy-mongrel.conf
1 |
# Redmine configuration behind Apache 2.2.x and mongrel
|
---|---|
2 |
|
3 |
# Loading mod_proxy, mod_proxy_http and mod_proxy_balancer
|
4 |
|
5 |
<IfModule !mod_proxy.c> |
6 |
LoadModule proxy_module lib/modules/mod_proxy.so |
7 |
</IfModule>
|
8 |
<IfModule !mod_proxy_http.c> |
9 |
LoadModule proxy_http_module lib/modules/mod_proxy_http.so |
10 |
</IfModule>
|
11 |
<IfModule !mod_proxy_balancer.c> |
12 |
LoadModule proxy_balancer_module lib/modules/mod_proxy_balancer.so |
13 |
</IfModule>
|
14 |
|
15 |
<Directory E:/data/redmine/public/> |
16 |
Options Indexes FollowSymLinks MultiViews |
17 |
AllowOverride All |
18 |
Order deny,allow |
19 |
Deny from all |
20 |
Allow from 192.168.20 |
21 |
</Directory>
|
22 |
|
23 |
<Proxy *>
|
24 |
Order Deny,Allow |
25 |
Deny from all |
26 |
Allow from 192.168.20 |
27 |
</Proxy>
|
28 |
|
29 |
ProxyPass / balancer://redmine_cluster/ |
30 |
ProxyPassReverse / balancer://redmine_cluster/ |
31 |
|
32 |
<Proxy balancer://redmine_cluster> |
33 |
BalancerMember http://redmine.mycompany.com:3001 |
34 |
BalancerMember http://redmine.mycompany.com:3002 |
35 |
BalancerMember http://redmine.mycompany.com:3003 |
36 |
</Proxy>
|