Chrome Sync Not Working After Clearing Cache: Fixes - Debugging Nginx Redirect Loop in Server Block-Resolve Nginx 502 Bad Gateway in Docker on Ubuntu

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