permanently redirect HTTP to HTTPS for nginx
add workaround for #170
add basic auth for all incoming requests
disable auth_basic for health checks
Fix Redis LRU cache default configuration backwards compatibility
Improve coverage of docker_registry.lib

Docker-DCO-1.1-Signed-off-by: Gabor Nagy <mail@aigeruth.hu> (github: Aigeruth)
fix(logging): move up logging setup
fix yaml escape bug
Merge pull request #487 from deis/fix-yaml-bug

Fix YAML escape bug on Gunicorn log targets
Merge pull request #485 from deis/fix-logging-setup

Configure logging before modules that require it
docker_registry.run: Restore GUNICORN_OPTS functionality

This was initially added in 534c6da5 (run.sh: Add '$GUNICORN_OPTS
"$@"' to gunicorn invocation, 2014-02-13), but didn't survive the
translation to a setuptools entry_points in bf3360a2 (replacing run.sh
with a "docker-registry" console script, 2014-04-02).  bf3360a2 was
part of dotcloud/docker-registry#297, which branched off before
534c6da5 landed with dotcloud/docker-registry#247, and the
entry_points invocation wasn't updated to reflect the change.

The syntax has also changed a bit, since we're invoking Gunicorn from
Python instead of Bash.  Instead of dropping the string verbatim onto
the command-line ($GUNICORN_OPTS), it now goes through the usual
docker_registry.server.env.source YAML parsing (884b418f, Type from
environment properly (like Config), 2014-06-23).  So instead of
something like:

  GUNICORN_OPTS='--preload --log-syslog'

you should now be using:

  GUNICORN_OPTS='[--preload, --log-syslog]'
Merge pull request #463 from Aigeruth/enhancement/coverage_of_lib

Improve coverage of docker_registry.lib
Merge pull request #483 from wking/gunicorn-opts

docker_registry.run: Restore GUNICORN_OPTS functionality
Update boto.py

There was an error where the wrong variable name was being used when loading the config variables. The storage object was trying to load the boto_secure file, which didn't exist since it was called s3_secure. Therefore the registry was never using HTTPS with s3.
Merge pull request #491 from mariano54/patch-1

Update boto.py
Don't log redis credentials
also log db#
Always define 'data' local var
More lax bugsnag dependency
Merge pull request #508 from docker/466-bugsnag-dep

More lax bugsnag dependency