Solutionunvalidated
I switched to using directly Uvicorn with the following command — Previously, I used: `fastapi run --workers 4 app/main.py`. Tension: the redirection then fails. Outcome: `uvicorn your_app:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips "*"`.
8ffd6c06-2cc8-429d-9675-6c1cdb131821
I switched to using directly Uvicorn with the following command — Previously, I used: fastapi run --workers 4 app/main.py. Tension: the redirection then fails. Outcome: uvicorn your_app:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips "*".