Fix Nginx Upstream Connection Refused Error - Fix Git Push Rejected: Non-Fast-Forward Error-Git Rebase Error: index.lock File Exists – Solution

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.