add truncate of the generated nginx conf file
changed indent in nginx template