Skip to content

Instantly share code, notes, and snippets.

@x-cray
Created January 20, 2016 21:43
Show Gist options
  • Save x-cray/8f6462072c7a6254339a to your computer and use it in GitHub Desktop.
Save x-cray/8f6462072c7a6254339a to your computer and use it in GitHub Desktop.
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
maxconn {% raw %}{{key "service/haproxy/maxconn"}}{% endraw %}
{% include 'mesos/files/haproxy-defaults.ctmpl.jinja' %}
{% include 'mesos/files/haproxy-internal-frontend.ctmpl.jinja' %}
{% include 'mesos/files/haproxy-wellknown-services.ctmpl.jinja' %}
{% include 'mesos/files/haproxy-backends.ctmpl.jinja' %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment