Fix 'Permission Denied' and 'Windows Update Module Not Found' Errors - Troubleshooting 502 Bad Gateway with Nginx and RDP-Microsoft Teams Access Denied: Step-by-Step Fixes

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