File: test-valid-names.cfg

package info (click to toggle)
haproxy 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 7,732 kB
  • sloc: ansic: 62,860; xml: 1,754; python: 925; makefile: 551; perl: 550; sh: 491
file content (37 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This is a test configuration.
# It checks instances, servers and acl names.

listen		valid_listen1
		bind		:8000
		clitimeout	5000
		contimeout	5000
		srvtimeout	5000
		balance		roundrobin
		server		srv1 127.0.0.1:80

frontend	www.valid-frontend.net:80
		bind		:8001
		clitimeout	5000
		acl host_www.valid-frontend.net:80 hdr(host) www.valid-frontend.net

backend		Valid_BK-1
		contimeout	5000
		srvtimeout	5000
		balance		roundrobin
		server		bk1_srv-1:80 127.0.0.1:80

frontend	www.test-frontend.net:8002/invalid
		bind		:8002
		clitimeout	5000

frontend	ft1_acl
		bind		:8003
		clitimeout	5000
		acl invalid!name url /

backend		bk2_srv
		contimeout	5000
		srvtimeout	5000
		balance		roundrobin
		server		bk2/srv-1 127.0.0.1:80