|
|
@@ -48,7 +48,7 @@ frontend ft_http_in
|
|
|
use_backend %[req.hdr(host),lower,map_dom(/etc/haproxy/http-domains-to-backends.map,be_redirect_https)]
|
|
|
|
|
|
frontend ft_https_in
|
|
|
- bind 0.0.0.0:7000 ssl crt /etc/letsencrypt/live/www.sahajayoga.at/bundle.pem crt /etc/ssl/certs/bundles/ alpn h2,http/1.1
|
|
|
+ bind 0.0.0.0:7000 ssl crt /etc/ssl/certs/bundles/ alpn h2,http/1.1
|
|
|
mode http
|
|
|
acl domain_validation path,url_dec -m beg -i /.well-known
|
|
|
capture request header X-Forwarded-For len 50
|
|
|
@@ -84,14 +84,18 @@ backend be_yuvashakti01
|
|
|
option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
|
|
|
server vhost01 192.168.122.200:80 check inter 10000
|
|
|
|
|
|
+backend be_yuvashakti_com
|
|
|
+ option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
|
|
|
+ server yuvashakti_www 77.120.105.127:80 check inter 10000
|
|
|
+
|
|
|
# wlan ctl
|
|
|
backend be_web02_8080
|
|
|
option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
|
|
|
- server web02 192.168.122.19:8080 check inter 5000
|
|
|
+ server web02 192.168.122.19:8080 check inter 10000
|
|
|
|
|
|
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
|
|
|
+ server web02 192.168.122.19:8443 check inter 10000 ssl verify none
|
|
|
|
|
|
## captive portal
|
|
|
#backend be_web02_8880
|