Fix Windows Security Invalid Configuration Sync Error - Troubleshoot Remote Desktop Module Not Found on Server-Troubleshooting 502 Bad Gateway with Nginx and RDP

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