How to Merge a Git Detached HEAD Back to Master - Nginx proxy_pass Configuration Test Error Guide-Nginx 502 Bad Gateway: Connection Refused to localhost

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