]>
Commit | Line | Data |
---|---|---|
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 |
9 | User "pound" |
10 | Group "pound" | |
f5263ff2 | 11 | RootJail "/usr/share/empty" |
2cd7a364 ER |
12 | Control "/var/run/pound/pctl.sock" |
13 | ||
3fb01c58 ER |
14 | # Log to file |
15 | LogFile /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). | |
24 | LogLevel 4 | |
59f6c21a | 25 | |
f5263ff2 | 26 | ListenHTTP |
2cd7a364 ER |
27 | Address 0.0.0.0 |
28 | Port 80 | |
29 | End | |
30 | ||
31 | ListenHTTPS | |
32 | Address 0.0.0.0 | |
33 | Port 443 | |
34 | Cert "/etc/pki/pound.pem" | |
f5263ff2 | 35 | End |
59f6c21a | 36 | |
f5263ff2 ER |
37 | Service |
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 |
47 | End |