check nginx syntax with a sudo script