Fix Nginx Configuration Test Failure from Rewrite Rules - Resolve Python Socket Decode Errors with Encoding Checks-How to Fix Docker Compose Variable Not Set

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