3.1. Haproxy - DNS based

This is a straightforward example of how to setup a DNS name based HAProxy setup for OliveTin.

frontend cleartext_frontend
    mode http
    bind 0.0.0.0:80

    option httplog

    use_backend be_olivetin if { hdr(Host) -i olivetin.example.com }

backend be_olivetin
    server olivetinServer 192.168.0.1:1337 check