Fix Nginx Configuration Test Failure from Rewrite Rules - Docker Network Not Found & Permission Denied Fix-Resolve Encoding Errors with Python Requests Library

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