...re-enable --proxy-protocol

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-15 19:38:24 -08:00
parent c34844cbf6
commit ca0f462810
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -23,6 +23,7 @@ elif [ "$1" == "gunicorn" ]; then
exec gunicorn \
--log-config /docker/logging.conf \
--bind "0.0.0.0:8000" \
--proxy-protocol \
-w $FASTAPI_WORKERS \
-k uvicorn.workers.UvicornWorker \
aurweb.asgi:app