How to Fix Nginx 502 Bad Gateway in Docker - How to Resolve Git Non-Fast-Forward Rejection After Pull-Troubleshooting Docker 'network not found' and 'permission denied'

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