Skip to content

Commit 688dc89

Browse files
committed
Merge pull request inoryy#1 from effhaa/master
Added example pound configuration for HTTPS
2 parents a0ede87 + 2d17239 commit 688dc89

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

etc/default/pound

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Defaults for pound initscript
2+
# sourced by /etc/init.d/pound
3+
# installed at /etc/default/pound by the maintainer scripts
4+
5+
# prevent startup with default configuration
6+
# set the below varible to 1 in order to allow pound to start
7+
startup=1
8+

etc/pound/pound.cfg

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## see pound(8) for details
2+
######################################################################
3+
## global options:
4+
5+
User "www-data"
6+
Group "www-data"
7+
#RootJail "/chroot/pound"
8+
9+
## Logging: (goes to syslog by default)
10+
## 0 no logging
11+
## 1 normal
12+
## 2 extended
13+
## 3 Apache-style (common log format)
14+
LogLevel 0
15+
LogFacility local5
16+
## check backend every X secs:
17+
Alive 30
18+
19+
## use hardware-accelleration card supported by openssl(1):
20+
#SSLEngine "<hw>"
21+
22+
# poundctl control socket
23+
#Control "/var/run/pound/poundctl.socket"
24+
25+
######################################################################
26+
## listen, redirect and ... to:
27+
28+
ListenHTTPS
29+
Cert "/etc/path/to/cert.pem"
30+
Address 0.0.0.0
31+
Port 443
32+
Ciphers "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
33+
HeadRemove "X-Forwarded-Proto"
34+
AddHeader "X-Forwarded-Proto: https"
35+
36+
#New parameters, use with pound 2.6:
37+
#SSLAllowClientRenegotiation 0
38+
#SSLHonorCipherOrder 1
39+
End
40+
41+
Service
42+
BackEnd
43+
Address 127.0.0.1
44+
Port 80
45+
End
46+
End
47+
File renamed without changes.

0 commit comments

Comments
 (0)