## Minimal sample pound.cfg ## ## see pound(8) for details ###################################################################### ## 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 "" # poundctl control socket Control "/var/run/pound/poundctl.socket" ###################################################################### ## listen, redirect and ... to: ## redirect all requests on port 8080 ("ListenHTTP") to the local webserver (see "Service" below): ListenHTTP Address 192.168.56.101 Port 80 Service HeadRequire "Host: drupal-pound.local" Redirect "https://drupal-pound.local" End End ListenHTTP Address 192.168.56.110 Port 80 Service HeadRequire "Host: static-pound.local" Redirect "https://static-pound.local" End End ListenHTTPS HeadRemove "X-Forwarded-Proto" AddHeader "X-Forwarded-Proto: https" Address 192.168.56.101 Port 443 Cert "/etc/pound/demo.pem" Service BackEnd Address 192.168.56.102 Port 80 End End End ListenHTTPS HeadRemove "X-Forwarded-Proto" AddHeader "X-Forwarded-Proto: https" Address 192.168.56.110 Port 443 Cert "/etc/pound/demo.pem" Service BackEnd Address 192.168.56.102 Port 80 End End End