Created
June 8, 2015 23:34
-
-
Save wjordan/ebc8ab5b9d9768b70bbc to your computer and use it in GitHub Desktop.
Pound HTTPS proxy configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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