Git Merge Unrelated Histories: When and How to Use --allow-unrelated-histories - Fix Port Already in Use Error in Docker Compose-How to Fix Docker NGINX 502 Bad Gateway

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.