File: pound.cfg

package info (click to toggle)
pound 4.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,008 kB
  • sloc: ansic: 26,296; perl: 2,311; makefile: 242; sh: 42; sed: 18
file content (58 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## Minimal sample pound.cfg
##
## see pound(8) for details
## for a complete user manual, run "info pound"

######################################################################
## global options:

User		"_pound"
Group		"_pound"
#RootJail	"/chroot/pound"

## Logging: (goes to syslog by default)
## Built-in formats:
##  0 or "null"		  no logging.
##  1 or "regular"	  log source address, request line and response status.
##  2 or "extended" 	  Same as 1, plus selected service and backend info.
##  3 or "vhost_combined" Apache-style (common log format).
##  4 or "combined"       Same as 3, but without virtual host info.
##  5 or "detailed"       Same as 4, plus selected service and backend info.
## Any other format may be defined using the LogFormat statement and its 
## name given as argument instead of the predefined names above.
LogLevel	1

## check backend every X secs:
Alive		30

## use hardware-accelleration card supported by openssl(1):
#SSLEngine	"<hw>"

# poundctl control socket
Control "/run/poundctl.socket"

# If you prefer using Perl-compatible regular expressions, uncomment the
# statement below:
#RegexType pcre

# You can also select the regex flavor to use with each matching directive
# individually, by using the following flags: -posix, -pcre.

######################################################################
## listen, redirect and ... to:

## redirect all requests on port 8080 ("ListenHTTP") to the local webserver (see "Service" below):
ListenHTTP
	Address 127.0.0.1
	Port	8080

	## allow PUT and DELETE also (by default only GET, POST and HEAD)?:
	xHTTP		1

	Service
		BackEnd
			Address	127.0.0.1
			Port	80
		End
	End
End