Fix Nginx 'upstream connection refused' When Talking to PHP-FPM - How to bypass pip externally-managed-environment on Ubuntu 23.04-Git Rebase Error: index.lock File Exists – Solution

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