Fix Git Clone Connection Timed Out via HTTPS - Fix fatal: refusing to merge unrelated histories error-Resolve Nginx 502 Bad Gateway in Docker on Ubuntu

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