You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
895 B
INI
29 lines
895 B
INI
frontend http
|
|
|
|
bind *:80
|
|
|
|
mode http
|
|
option http-keep-alive
|
|
|
|
use_backend conductor-server_bck if { hdr_dom(host) -i conductor-server.local.net }
|
|
use_backend conductor-ui_bck if { hdr_dom(host) -i conductor-ui.local.net }
|
|
|
|
#
|
|
# Backends
|
|
#
|
|
|
|
backend conductor-server_bck
|
|
mode http
|
|
option httpchk
|
|
balance roundrobin
|
|
http-check send meth GET uri /api/health ver HTTP/1.1 hdr Host localhost
|
|
http-check expect rstatus (2|3)[0-9][0-9]
|
|
server-template conductor-server- 2 conductor-local_conductor-server:8080 check resolvers docker init-addr libc,none
|
|
backend conductor-ui_bck
|
|
mode http
|
|
option httpchk
|
|
balance roundrobin
|
|
http-check send meth GET uri / ver HTTP/1.1 hdr Host localhost
|
|
http-check expect rstatus (2|3)[0-9][0-9]
|
|
server-template conductor-ui- 2 conductor-local_conductor-ui:5000 check resolvers docker init-addr libc,none
|