VertiPub/cookbook-geminabox — pull request #3 by tucker-verticloud (2012-12-23 19:05:35+00:00)
Title: Ssl header correction

From the unicorn nginx config example:

```config
# enable this if you forward HTTPS traffic to unicorn,
# this helps Rack set the proper URL scheme for doing redirects:
# proxy_set_header X-Forwarded-Proto $scheme;
```

Without this setting, geminabox sees url as http, regardless of the requesting protocol. This caused geminabox to render links (like /download and /delete) incorrectly and the geminabox web site doesn't work correctly.