Fixing NGINX 502 Bad Gateway Permission Denied - Choosing Between Cron and Systemd Timers in Ubuntu-Fix Teams Port Already in Use Error

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