in reply to Perl Dancer and SSL setup

From the source it looks like it just sends a redirect from http://<page> to https://<page> if the server is not in development mode. It doesn't actually set up the encryption for you. So you would already have to have the secure version of the page working, and then this module would redirect from the insecure page to the secure page. There are plenty of tutorials on how to set up ssl, depending on your configuration. Generally involves making a certificate using openssl or some other tool, optionally getting it signed by a Certificate Authority, and then configuring your web server to utilize that certificate, conventionally listening on non secure port 80 and additionally with the certificate option on port 443.

After all that is working, it looks like that module redirects all traffic. So if you navigate to http://website.com, Dancer will tell your browser to go to https://website.com. And so on for every valid page that Dancer is responsible for. That is all that module does, looks like to me.