Haproxy config for copr-frontend
This commit is contained in:
parent
6ac8ee95fe
commit
0311569778
1 changed files with 10 additions and 0 deletions
|
@ -601,6 +601,16 @@ backend freshmaker-backend
|
||||||
server freshmaker-frontend01 freshmaker-frontend01:80 check inter 20s rise 2 fall 3
|
server freshmaker-frontend01 freshmaker-frontend01:80 check inter 20s rise 2 fall 3
|
||||||
option httpchk GET /api/1/builds/
|
option httpchk GET /api/1/builds/
|
||||||
|
|
||||||
|
frontend copr-frontend
|
||||||
|
bind 0.0.0.0:10070
|
||||||
|
default_backend copr-backend
|
||||||
|
|
||||||
|
backend copr-backend
|
||||||
|
balance hdr(appserver)
|
||||||
|
server copr-frontend01 copr-frontend01:80 check inter 10s rise 1 fall 2
|
||||||
|
server copr-frontend02 copr-frontend02:80 check inter 10s rise 1 fall 2
|
||||||
|
option httpchk GET /api_3/
|
||||||
|
|
||||||
# Apache doesn't handle the initial connection here like the other proxy
|
# Apache doesn't handle the initial connection here like the other proxy
|
||||||
# entries. This proxy also doesn't use the http mode like the others.
|
# entries. This proxy also doesn't use the http mode like the others.
|
||||||
# stunnel should be sitting on port 9939 (public) and redirecting
|
# stunnel should be sitting on port 9939 (public) and redirecting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue