]> git.pld-linux.org Git - packages/pound.git/blame - pound.cfg
- log to file, use for default loglevel apache combined format
[packages/pound.git] / pound.cfg
CommitLineData
2cd7a364
ER
1# Default pound.cfg
2#
3# Pound listens on port 80 for HTTP and port 443 for HTTPS
4# and distributes requests to 2 backends running on localhost.
5# see pound(8) for configuration directives.
6# You can enable/disable backends with poundctl(8).
7#
8
e0c9cb23
ER
9User "pound"
10Group "pound"
f5263ff2 11RootJail "/usr/share/empty"
2cd7a364
ER
12Control "/var/run/pound/pctl.sock"
13
3fb01c58
ER
14# Log to file
15LogFile /var/log/pound/access.log
16
17# Specify the logging level. This value can be overridden for specific listeners.
18# 0 for no logging,
19# 1 (default) for regular logging,
20# 2 for extended logging (show chosen backend server as well),
21# 3 for Apache-like format (Combined Log Format with Virtual Host),
22# 4 (same as 3 but without the virtual host information) and
23# 5 (same as 4 but with information about the Service and BackEnd used).
24LogLevel 4
59f6c21a 25
f5263ff2 26ListenHTTP
2cd7a364
ER
27 Address 0.0.0.0
28 Port 80
29End
30
31ListenHTTPS
32 Address 0.0.0.0
33 Port 443
34 Cert "/etc/pki/pound.pem"
f5263ff2 35End
59f6c21a 36
f5263ff2
ER
37Service
38 BackEnd
39 Address 127.0.0.1
2cd7a364
ER
40 Port 8000
41 End
42
43 BackEnd
44 Address 127.0.0.1
45 Port 8001
f5263ff2
ER
46 End
47End
This page took 0.076746 seconds and 4 git commands to generate.