File: test-time.cfg

package info (click to toggle)
haproxy 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 24,600 kB
  • sloc: ansic: 275,217; sh: 3,607; xml: 1,756; python: 1,345; makefile: 1,162; perl: 168; cpp: 21
file content (24 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is a test configuration.
# It is used to check that time units are correctly parsed.

global
	maxconn    1000
        stats timeout 3s

listen  sample1
        mode       http
        retries    1
        option redispatch
        timeout connect 5s
        timeout client 15m
        timeout server 15m
        maxconn    40000
        bind       :8080
        balance    roundrobin
	option     allbackups
        server     act1 127.0.0.1:80 weight 10 check port 81 inter 500ms fall 1
        server     act2 127.0.0.2:80 weight 20 check port 81 inter 500ms fall 1
        server     act3 127.0.0.3:80 weight 30 check port 81 inter 500ms fall 1
        option     httpclose
	stats      uri /stats
	stats      refresh 5000ms