Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos
Commits
4203e1a2
Commit
4203e1a2
authored
Jan 18, 2023
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/haproxy: Introduce
A stack to share common configuration aspects.
parent
278605d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
stack/haproxy/buildout.hash.cfg
stack/haproxy/buildout.hash.cfg
+17
-0
stack/haproxy/default-backend.cfg
stack/haproxy/default-backend.cfg
+8
-0
stack/haproxy/default-backend.cfg.in
stack/haproxy/default-backend.cfg.in
+24
-0
No files found.
stack/haproxy/buildout.hash.cfg
0 → 100644
View file @
4203e1a2
# 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
stack/haproxy/default-backend.cfg
0 → 100644
View file @
4203e1a2
[buildout]
extends =
buildout.hash.cfg
../../component/haproxy/buildout.cfg
[stack-haproxy-default-backend-config]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
stack/haproxy/default-backend.cfg.in
0 → 100644
View file @
4203e1a2
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 #}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment