Skip to content

Instantly share code, notes, and snippets.

@typhonius
Created February 23, 2014 07:52
Show Gist options
  • Save typhonius/9168439 to your computer and use it in GitHub Desktop.
Save typhonius/9168439 to your computer and use it in GitHub Desktop.
pound configuration file
User "apache"
Group "apache"
#RootJail "/var/pound/jail"
#Alive 60
ListenHTTPS
HeadRemove "X-Forwarded-Proto"
AddHeader "X-Forwarded-Proto: https"
Address 0.0.0.0
Port 443
Cert "/etc/ssl/certs/adammalone.net.pem"
End
## Virtual host www.adammalone.net
Service
HeadRequire "Host:.*www.adammalone.net.*"
BackEnd
Address 127.0.0.1
Port 80
End
End
# Fallback for other hosts
Service
Backend
Address 127.0.0.1
Port 80
End
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment