forked from modcluster/mod_proxy_cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod_lbmethod_cluster.conf
More file actions
42 lines (36 loc) · 1.31 KB
/
Copy pathmod_lbmethod_cluster.conf
File metadata and controls
42 lines (36 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule manager_module modules/mod_manager.so
LoadModule lbmethod_cluster_module modules/mod_lbmethod_cluster.so
LoadModule watchdog_module modules/mod_watchdog.so
LogLevel info
ServerName httpd-mod_proxy_cluster
ProxyPreserveHost On
UseNocanon On
Listen 8090
ManagerBalancerName mycluster
EnableWsTunnel
WSUpgradeHeader websocket
<VirtualHost *:8090>
EnableMCMPReceive
<Location />
# For podman, this gets changed to IP in httpd/run.sh
Require host .mod_proxy_cluster_testsuite_net
# _gateway is the hostname used through the docker port forward into the custom network
Require host _gateway
Require local
</Location>
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
# _gateway is the hostname used through the docker port forward into the custom network
Require host _gateway
Require local
</Location>
</VirtualHost>
<Proxy "balancer://mycluster">
ProxySet growth=10
ProxySet lbmethod=cluster
</Proxy>