]>
Commit | Line | Data |
---|---|---|
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 |
10 | User "pound" |
11 | Group "pound" | |
2cd7a364 ER |
12 | Control "/var/run/pound/pctl.sock" |
13 | ||
eade2071 ER |
14 | # Log errors to this fil |
15 | ErrorLog /var/log/pound/pound.log | |
16 | ||
17 | # Log accesses to a file | |
3fb01c58 ER |
18 | LogFile /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). | |
27 | LogLevel 4 | |
59f6c21a | 28 | |
f5263ff2 | 29 | ListenHTTP |
2cd7a364 ER |
30 | Address 0.0.0.0 |
31 | Port 80 | |
32 | End | |
33 | ||
34 | ListenHTTPS | |
35 | Address 0.0.0.0 | |
36 | Port 443 | |
37 | Cert "/etc/pki/pound.pem" | |
f5263ff2 | 38 | End |
59f6c21a | 39 | |
f5263ff2 ER |
40 | Service |
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 |
50 | End |