Fix 'port already allocated' for Nginx in Docker Compose - Docker Compose Environment Variable from Shell Not Working: Fixes-Fix Nginx Redirect Loop with Cloudflare

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