Fix npm run build Failed After Git Pull - How to Resolve Update Error 0x80070005-Fix 'nginx: configuration test failed unexpected end of file'

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.