How to Fix Docker Pull 'Access Denied' or 'Permission Denied' - Nginx 502 Bad Gateway Docker Permission Denied Fix-Troubleshooting Nginx Upstream Refused

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