Nginx Bug Fix

Nginx was failing on the private layers because it couldn’t resolve the
endpoints