aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy/haproxy.cfg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-24 09:35:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-16 12:50:06 +0000
commitef4d70929c7b687a7b974e9ae438f6b8a164f16f (patch)
tree6041f94bf7a848bc2f26bf98f021ecf3456cab55 /main/haproxy/haproxy.cfg
parent4bbb93d659452066ebe032015d4ccdbbc9f57abb (diff)
downloadaports-ef4d70929c7b687a7b974e9ae438f6b8a164f16f.tar.bz2
aports-ef4d70929c7b687a7b974e9ae438f6b8a164f16f.tar.xz
main/haproxy: move default config location
- move default config location to /etc/haproxy/ - provide install/upgrade script that moves existing config to new location - provide dummy config - create haproxy user and group
Diffstat (limited to 'main/haproxy/haproxy.cfg')
-rw-r--r--main/haproxy/haproxy.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/haproxy/haproxy.cfg b/main/haproxy/haproxy.cfg
new file mode 100644
index 0000000000..38f4625bbd
--- /dev/null
+++ b/main/haproxy/haproxy.cfg
@@ -0,0 +1,13 @@
+# dummy config
+global
+ user haproxy
+ group haproxy
+ chroot /usr/share/haproxy
+ daemon
+
+defaults
+ contimeout 5000
+ clitimeout 50000
+
+listen dummy1 127.0.0.1:10001
+