Skip to content

Instantly share code, notes, and snippets.

@wjordan
Created June 8, 2015 23:34
Show Gist options
  • Save wjordan/ebc8ab5b9d9768b70bbc to your computer and use it in GitHub Desktop.
Save wjordan/ebc8ab5b9d9768b70bbc to your computer and use it in GitHub Desktop.
Pound HTTPS proxy configuration file
## pound configuration for proxying HTTPS to local HTTP development server
# Place in /etc/pound/pound.cfg
# Remember to set startup=1 in /etc/default/pound
User "www-data"
Group "www-data"
LogLevel 1
Daemon 1
Alive 5
Control "/var/run/pound/poundctl.socket"
ListenHTTP
Address 127.0.0.1
Port 80
xHTTP 1
Service
BackEnd
Address 127.0.0.1
Port 3000
End
End
End
ListenHTTPS
Address 127.0.0.1
Port 443
Cert "/home/will/cdo-pound.pem"
xHTTP 1
HeadRemove "X-Forwarded-Proto"
AddHeader "X-Forwarded-Proto: https"
Service
BackEnd
Address 127.0.0.1
Port 3000
End
End
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment