Fix Nginx 502 Bad Gateway in Docker Containers - How to Remove Git index.lock File on Linux-Fix Git Merge Conflicts with Deleted Files

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