Got nginx reverse proxy to the registry working.