moved nginx dependency to nginx from base