docker/docker-registry — pull request #564 by merll (2014-09-09 16:29:04+00:00)
Title: Fix auth_basic exemption in nginx.conf sample

Using the nginx sample configuration, the location blocks for `/_ping` and `/v1/_ping` produce an HTTP 404 error. The location `/` is not processed, and consequently the request is not sent to the docker-registry endpoint. This also seems to be the cause for #559.

The proxy commands were moved to an external file in order to avoid repetition.