From 3574d7a3382d32003f9bb91f1fd12613e42c7380 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 11 Dec 2014 22:14:36 +0000 Subject: [PATCH] Update information about HTTPS in development. --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8fa89df..c4f8924 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,13 @@ DanBarberPhoto This is the source code for DanBarberPhoto.com. The session cookie has been set to `secure: true` so the admin login will only -work over an HTTPS connection. Nginx can be used as a local proxy for -development purposes. +work over an HTTPS connection. Use the tunnels gem to proxy the development +server to HTTPS: + +```bash +# If you're using pow +$ sudo tunnels + +# If using rails server +$ sudo tunnels 443 3000 +```