start nginx before checking status