How to Fix Nginx 502 Bad Gateway in Docker Logs - How to Resolve Git Unrelated Histories Merge Conflict-Mac Docker Compose 'Port Already Allocated' Fix

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