mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): use gunicorn's --proxy-protocol
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
88cb1096c0
commit
c5100b29f7
1 changed files with 1 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue