Commit 4203e1a2 authored by Łukasz Nowak's avatar Łukasz Nowak

stack/haproxy: Introduce

A stack to share common configuration aspects.
parent 278605d5
# THIS IS NOT A BUILDOUT FILE, despite purposedly using a compatible syntax.
# The only allowed lines here are (regexes):
# - "^#" comments, copied verbatim
# - "^[" section beginings, copied verbatim
# - lines containing an "=" sign which must fit in the following categorie.
# - "^\s*filename\s*=\s*path\s*$" where "path" is relative to this file
# Copied verbatim.
# - "^\s*hashtype\s*=.*" where "hashtype" is one of the values supported
# by the re-generation script.
# Re-generated.
# - other lines are copied verbatim
# Substitution (${...:...}), extension ([buildout] extends = ...) and
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[stack-haproxy-default-backend-config]
filename = default-backend.cfg.in
md5sum = dd336cb9ea7dcee94127a994bbe0a2e8
[buildout]
extends =
buildout.hash.cfg
../../component/haproxy/buildout.cfg
[stack-haproxy-default-backend-config]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
global
maxconn 4096
master-worker
pidfile {{ pidfile }}
log stdout format raw daemon
defaults
log global
option httplog
mode http
retries 1
option redispatch
maxconn 2000
balance roundrobin
timeout connect 10s
timeout queue 60s
timeout server 305s
timeout client 305s
compression algo gzip
compression type application/font-woff application/font-woff2 application/hal+json application/javascript application/json application/rss+xml application/wasm application/x-font-opentype application/x-font-ttf application/x-javascript application/xml image/svg+xml text/cache-manifest text/css text/html text/javascript text/plain text/xml
{{ content }}
{# BLANKLINE #}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment