diff --git a/docker/scripts/run-fastapi.sh b/docker/scripts/run-fastapi.sh index e60d642e..391176f0 100755 --- a/docker/scripts/run-fastapi.sh +++ b/docker/scripts/run-fastapi.sh @@ -23,6 +23,7 @@ elif [ "$1" == "gunicorn" ]; then exec gunicorn \ --log-config /docker/logging.conf \ --bind "0.0.0.0:8000" \ + --forwarded-allow-ips "*" \ --proxy-protocol \ -w $FASTAPI_WORKERS \ -k uvicorn.workers.UvicornWorker \