Fix Git 'index.lock file exists' Error - Nginx Permission Denied Error on CentOS: How to Fix-Troubleshooting Nginx Upstream Connection Refused 443

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