Created
December 23, 2015 20:59
-
-
Save x-cray/8237321e679ac6f6a802 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend internal_http_in:marathon | |
bind :18080 | |
use_backend cluster:marathon | |
frontend internal_http_in:chronos | |
bind :14400 | |
use_backend cluster:chronos | |
listen internal_http_in:consul | |
bind :18500 | |
timeout client 600000 | |
timeout server 600000 | |
server local 127.0.0.1:8500 | |
backend cluster:marathon | |
option forwardfor | |
option httpchk GET /ping | |
balance roundrobin | |
{%- for host, ip in master_nodes.iteritems() %} | |
server {{ host }} {{ ip }}:8080 check inter 10s | |
{% endfor -%} | |
backend cluster:chronos | |
option forwardfor | |
option httpchk GET /ping | |
balance roundrobin | |
{%- for host, ip in master_nodes.iteritems() %} | |
server {{ host }} {{ ip }}:4400 check inter 10s | |
{% endfor -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment