From c312324b0b8ff8726f3c28fa3160d969d523a47e Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Fri, 18 Oct 2024 14:51:02 +0200 Subject: [PATCH] =?UTF-8?q?LoadBalancer=20f=C3=BCr=20LXContainer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/kapitel/kapitel_13_lxc.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 conf/kapitel/kapitel_13_lxc.conf diff --git a/conf/kapitel/kapitel_13_lxc.conf b/conf/kapitel/kapitel_13_lxc.conf new file mode 100644 index 0000000..b8331cd --- /dev/null +++ b/conf/kapitel/kapitel_13_lxc.conf @@ -0,0 +1,25 @@ + + ServerName revproxy-lxc.sv + + + SetHandler balancer-manager + Require ip 172.31.31.0/24 + Require local + + + + 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 + + + ProxyPass /balancer-manager ! + ProxyPass / balancer://lxc/ + + CustomLog logs/revproxy-lxc_access.log combined + ErrorLog logs/revproxy-lxc_error.log +