Created
May 28, 2013 14:24
-
-
Save subelsky/5663127 to your computer and use it in GitHub Desktop.
simple Pound server configuration to terminate SSL connections and forward to a Rack app
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
Alive 10 | |
# http://lvh.me | |
ListenHTTP | |
Address 127.0.0.1 | |
Port 80 | |
Service | |
BackEnd | |
Address 127.0.0.1 | |
Port 5000 | |
End | |
End | |
End | |
# https://lvh.me | |
ListenHTTPS | |
Address 127.0.0.1 | |
Port 443 | |
Cert "/usr/local/etc/lvh.me.pem" | |
AddHeader "X_FORWARDED_PROTO: https" | |
Service | |
BackEnd | |
Address 127.0.0.1 | |
Port 5000 | |
End | |
End | |
End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment