This repository was archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpound.cfg
More file actions
61 lines (50 loc) · 1.22 KB
/
Copy pathpound.cfg
File metadata and controls
61 lines (50 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## Minimal sample pound.cfg
##
## see pound(8) for details
######################################################################
## global options:
User "nobody"
Group "nobody"
#RootJail /chroot/pound
Daemon 0
## Logging: (goes to syslog by default)
## 0 no logging
## 1 normal
## 2 extended
## 3 Apache-style (common log format)
LogLevel 1
## check backend every X secs:
Alive 30
## use hardware-accelleration card supported by openssl(1):
#SSLEngine <hw>
######################################################################
## listen, redirect and ... to:
ListenHTTP
Address 0.0.0.0
Port 80
Service
Redirect "https://destination.com/" # always redirect to HTTPS
End
End
ListenHTTPS
Address 0.0.0.0
Port 443
Cert "/etc/pound/pound.pem"
Service
BackEnd
Address destinationWebService # name of container or IP
Port 80
End
End
End
ListenHTTPS
Address 0.0.0.0
Port 4443
Cert "/etc/pound/pound.pem"
Service
BackEnd
Address 192.168.0.5 # Name of container or IP
Port 8000
End
End
End