Fixing Nginx 502 Bad Gateway in Docker: Practical Steps - Resolve Node Sass Compilation Failure with Build Tools-Docker Compose Env Variable Not Passed to Container

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.