Skip to content

Instantly share code, notes, and snippets.

@subelsky
Created May 28, 2013 14:24
Show Gist options
  • Save subelsky/5663127 to your computer and use it in GitHub Desktop.
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
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