This repository contains an example configuration of a private Docker-registry that is setup behind a NGINX reverse proxy. I've tested this configuration deploying this registry on a Raspberry, and uses a SSD mount to store the images.
Docker-registry