Skip to content
Permalink
Newer
Older
100644 34 lines (29 sloc) 659 Bytes
1
#Example with SSL PASSTHROUGH
2
global
3
log 127.0.0.1 local0
4
log 127.0.0.1 local1 notice
5
stats socket /usr/local/etc/haproxysock level admin
6
7
defaults
8
log global
9
option httplog
10
option dontlognull
11
timeout connect 5000
12
timeout client 10000
13
timeout server 10000
14
15
listen stats
16
bind *:5533
17
stats enable
18
stats uri /
19
20
21
frontend localhost
22
bind *:80
23
bind *:443
24
option tcplog
25
mode tcp
26
default_backend shibboleth_idp
27
28
backend shibboleth_idp
29
#Define the correct status check
30
mode tcp
31
balance roundrobin
32
option ssl-hello-chk
33
server shibboleth_idp_0 shibboleth_idp_0:8443 check
34
server shibboleth_idp_1 shibboleth_idp_1:8443 check
You can’t perform that action at this time.