1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Update information about HTTPS in development.

This commit is contained in:
Dan Barber 2014-12-11 22:14:36 +00:00
parent 8c4423d825
commit 3574d7a338

View File

@ -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
```