Fix Nginx Configuration Test Failure for Upstream Directive - How to Fix Detached HEAD and Merge to Master-Git Push Rejected Non Fast Forward Fix

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