updated deployment so as to create nginx related files correctly.