Fixing problem where nginx conf reverted when deploy is run