* Initial k8s support in libplayground * Make tasks never give up + custom event for k8s cluster status
19 lines
362 B
INI
19 lines
362 B
INI
defaults
|
|
mode http
|
|
timeout connect 5000ms
|
|
|
|
frontend http-in
|
|
bind *:8080
|
|
|
|
acl host_localhost hdr(host) localhost
|
|
acl host_direct_localhost hdr_reg(host) -i ^.*\.direct\.localhost?:?.*$
|
|
|
|
use_backend pwd if host_localhost
|
|
use_backend l2 if host_direct_localhost
|
|
|
|
backend pwd
|
|
server node1 pwd:3000
|
|
|
|
backend l2
|
|
server node2 l2:443
|