]> git.pld-linux.org Git - packages/pound.git/blob - pound.cfg
better https defaults
[packages/pound.git] / pound.cfg
1 # Default pound.cfg
2 # vim:ft=sh
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
10 User "pound"
11 Group "pound"
12 Control "/var/run/pound/pctl.sock"
13
14 # Log errors to this fil
15 ErrorLog /var/log/pound/pound.log
16
17 # Log accesses to a file
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
28
29 ListenHTTP
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"
38
39         Disable SSLv3
40         SSLAllowClientRenegotiation 0
41         SSLHonorCipherOrder 1
42         Ciphers "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:AES256-SHA256:!RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
43         AddHeader  "HTTPS: on"
44         RewriteLocation 0
45 End
46
47 Service
48         BackEnd
49                 Address 127.0.0.1
50                 Port    8000
51         End
52
53         BackEnd
54                 Address 127.0.0.1
55                 Port    8001
56         End
57 End
This page took 0.054412 seconds and 3 git commands to generate.