Files
play-with-docker/haproxy/haproxy.cfg
Marcos Nils 3481442768 Initial k8s support in libplayground (#216)
* Initial k8s support in libplayground

* Make tasks never give up + custom event for k8s cluster status
2017-11-16 18:23:13 -03:00

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