How to Fix Nginx Redirect Loop from HTTP to HTTPS - Resolve JavaScript Heap Out of Memory in Node-Fixing the 'remote origin already exists' Error for GitLab

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