Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This tells pound to terminate the encryption on any request received on port 443 (using the certificate in /etc/ssl/private/my.host.com.pem) and forward the request unencrypted to port 8080 on the same host (127.0.0.1). RewriteLocation 1 tells pound to rewrite the Location in a response to HTTPS so any redirects will use to HTTPS not HTTP.

Enable pound

Code Block
sudo vi /etc/default/pound

...