updating configuration based off https://github.com/docker/docker-registry/blob/master/contrib/nginx/nginx_1-3-9.conf