26 lines
652 B
Plaintext
26 lines
652 B
Plaintext
<VirtualHost 172.31.31.105:80>
|
|
ServerName revproxy-lxc.sv
|
|
|
|
<Location /balancer-manager>
|
|
SetHandler balancer-manager
|
|
Require ip 172.31.31.0/24
|
|
Require local
|
|
</Location>
|
|
|
|
<Proxy balancer://lxc/>
|
|
BalancerMember http://192.168.0.209 route=lxc1
|
|
BalancerMember http://192.168.0.236 route=lxc2
|
|
BalancerMember http://192.168.0.142 route=lxc3
|
|
BalancerMember http://192.168.0.251 route=lxc4
|
|
|
|
# ACHTUNG! Wird nicht gesetzt!
|
|
ProxySet stickysession=LXCID
|
|
</Proxy>
|
|
|
|
ProxyPass /balancer-manager !
|
|
ProxyPass / balancer://lxc/
|
|
|
|
CustomLog logs/revproxy-lxc_access.log combined
|
|
ErrorLog logs/revproxy-lxc_error.log
|
|
</VirtualHost>
|