diff --git a/docker/scripts/run-fastapi.sh b/docker/scripts/run-fastapi.sh index d3d75359..9aa63229 100755 --- a/docker/scripts/run-fastapi.sh +++ b/docker/scripts/run-fastapi.sh @@ -22,6 +22,7 @@ if [ "$1" == "uvicorn" ] || [ "$1" == "" ]; then elif [ "$1" == "gunicorn" ]; then exec gunicorn \ --log-config /docker/logging.conf \ + --proxy-protocol \ --bind "0.0.0.0:8000" \ -w $FASTAPI_WORKERS \ -k uvicorn.workers.UvicornWorker \