Fix 'nginx configuration test failed invalid parameter' - Fix 'git remote origin already exists' on GitHub-Docker Registry Read-Only Access Setup

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.