Skip to content

Instantly share code, notes, and snippets.

@kitzy
Created June 4, 2015 21:39
Show Gist options
  • Save kitzy/080ea6ed9fd33d9ec804 to your computer and use it in GitHub Desktop.
Save kitzy/080ea6ed9fd33d9ec804 to your computer and use it in GitHub Desktop.
This is an example pound config for load balancing a JSS
## This is an example pound config for load balancing a JSS
## Created by John Kitzmiller - www.johnkitzmiller.com
######################################################################
## global options:
User "www-data"
Group "www-data"
#RootJail "/chroot/pound"
## 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>"
# poundctl control socket
Control "/var/run/pound/poundctl.socket"
######################################################################
## listen, redirect and ... to:
## redirect all requests on port 8443 ("ListenHTTPS") to the local webservers (see "Service" below):
ListenHTTPS
Address 10.0.0.1 ##Set this to the IP address your pound server will be listening on
Port 8443
HeadRemove "X-Forwareded-For"
Cert "/ect/pound/cert.pem" ##Set this to the location of your SSL cert
## allow PUT and DELETE also (by default only GET, POST and HEAD)?:
xHTTP 1
Service
BackEnd
Address 10.0.0.2 ##Set this to the IP address of your first JSS node
Port 8080
End
BackEnd
Address 10.0.0.3 ##Set this to the IP address of your second JSS node
Port 8080
End
Session
Type IP
TTL 1000
End
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment