How to Merge a Git Detached HEAD Back to Master - Docker Compose Secret vs Environment Variable: When to Use Each-Nginx 502 Bad Gateway Docker Container Fix

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.