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