check the nginx conf file exists before doing modifications