dotcloud/docker-registry — pull request #74 by anapsix (2013-09-10 02:05:51+00:00)
Title: Debian INIT and NGINX update

Nginx config
-----------------
Nginx config should have _client_max_body_size_ set to some reasonably high value, since

Debian INIT
----------------
Created Debian INIT script, which reads /etc/default/docker-registry, if it exists, otherwise uses some sane defaults to start gunicorn via start-stop-daemon. This INIT script supports being symlinked to from /etc/init.d, must be run as root (for log and pid file creation), and, by default, starts processes as owner of the repo (can be reconfigured via config file or by directly editing the script)