|
|
@@ -1,7 +1,7 @@
|
|
|
# This file managed by hand
|
|
|
global
|
|
|
chroot /var/lib/haproxy
|
|
|
- daemon
|
|
|
+ daemon
|
|
|
group haproxy
|
|
|
log /dev/log len 2048 local1 info
|
|
|
maxconn 4096
|
|
|
@@ -37,7 +37,7 @@ defaults
|
|
|
timeout server 1m
|
|
|
|
|
|
frontend ft_http_in
|
|
|
- bind 0.0.0.0:6000
|
|
|
+ bind 0.0.0.0:6000
|
|
|
mode http
|
|
|
acl domain_validation path,url_dec -m beg -i /.well-known
|
|
|
capture request header X-Forwarded-For len 50
|
|
|
@@ -89,7 +89,7 @@ backend be_web02_8443
|
|
|
option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
|
|
|
server web02 192.168.122.19:8443 check inter 5000 weight 0 ssl verify none
|
|
|
|
|
|
-# captive portal
|
|
|
+# captive portal
|
|
|
backend be_web02_8880
|
|
|
acl allowed_url path,url_dec -m beg -i /guest/s/
|
|
|
http-request deny if !allowed_url
|
|
|
@@ -121,7 +121,7 @@ backend be_sahajayoga.at_redirect
|
|
|
|
|
|
backend be_sahajayoga.org_redirect_302
|
|
|
http-request redirect prefix http://www.sahajayoga.org/ code 302
|
|
|
-
|
|
|
+
|
|
|
# backend be_ringring.net
|
|
|
# acl allowed_hosts_eml src 212.126.215.62 84.112.230.10
|
|
|
# acl allowed_hosts_user src 80.109.127.112
|
|
|
@@ -143,10 +143,14 @@ backend be_sahajayoga.org_redirect_302
|
|
|
# server errorpage rhs-prxa-prod.dmz01.prod.rz01.riseops.at:9002 backup
|
|
|
|
|
|
listen stats
|
|
|
- bind 0.0.0.0:8000
|
|
|
+ bind 0.0.0.0:8000
|
|
|
+# bind 0.0.0.0:8000 ssl crt /etc/ssl/certs/my_bundle.crt.pem
|
|
|
stats enable
|
|
|
stats hide-version
|
|
|
stats realm Haproxy\ Statistics
|
|
|
stats uri /
|
|
|
stats auth stats:quiekovie0zei9gaTiuNe8engiquohCi
|
|
|
stats admin if TRUE
|
|
|
+
|
|
|
+
|
|
|
+
|