Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15807
Modified Files:
haproxy.cfg-example
Log Message:
minor corrections from Udo
Index: haproxy.cfg-example
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/haproxy.cfg-example,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- haproxy.cfg-example 21 Aug 2016 14:30:19 -0000 1.1
+++ haproxy.cfg-example 23 Oct 2016 12:50:21 -0000 1.2
@@ -1,5 +1,5 @@
# example-config for haproxy on devil-linux
-# 08/16 (ul)
+# 10/16 (ul)
#
# see also https://cbonte.github.io/haproxy-dconv/
#
@@ -30,8 +30,8 @@
option httplog
option dontlognull
timeout connect 5000
- timeout client 50000
- timeout server 50000
+ timeout client 65000
+ timeout server 65000
errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
@@ -50,10 +50,14 @@
http-request redirect scheme https if { hdr(Host) -i wiki.devil-linux.org } !{ ssl_fc }
http-request redirect scheme https if { hdr(Host) -i cloud.devil-linux.org } !{ ssl_fc }
#
- acl acl_pve hdr(host) -i pve-a.devil-linux.org
+ acl acl_pve-a hdr(host) -i pve-a.devil-linux.org
+ acl acl_pve-b hdr(host) -i pve-b.devil-linux.org
+ acl acl_pve-c hdr(host) -i pve-c.devil-linux.org
acl acl_letsencrypt url_beg /.well-known/acme-challenge/
- use_backend pve-http if acl_pve # for letsencrypt on pve-host
+ use_backend pve-a-http if acl_pve-a # for letsencrypt on pve-host a
+ use_backend pve-b-http if acl_pve-b # for letsencrypt on pve-host b
+ use_backend pve-c-http if acl_pve-c # for letsencrypt on pve-host c
use_backend web-srv-http if acl_letsencrypt # see http://www.acmefetch.org/ for using letsencrypt
default_backend other-web-srv-http
@@ -109,12 +113,12 @@
# single web-server / no ha
backend web-srv-http
mode http
- server web-srv 192.168.10.42:80 check
+ server web-srv 192.168.10.42:80
# single web-server / no ha
backend other-web-srv-http
mode http
- server web-srv 192.168.10.50:80 check
+ server web-srv 192.168.10.50:80
# ha wiki-srv
backend wiki-http
@@ -124,9 +128,17 @@
server wiki2-srv 192.168.10.44:80 check
# no ha - for letsencrypt only - see http://pve.proxmox.com/wiki/HTTPSCertificateConfiguration
-backend pve-http
+backend pve-a-http
mode http
- server pve-a 192.168.10.11:80 check
+ server pve-a 192.168.10.11:80
+
+backend pve-b-http
+ mode http
+ server pve-b 192.168.10.12:80
+
+backend pve-c-http
+ mode http
+ server pve-c 192.168.10.13:80
# ha pve-cluster
backend pve-server
|