From: Guillaume Pellerin Date: Sun, 26 Jun 2022 22:15:37 +0000 (+0200) Subject: uvicorn: add host X-Git-Tag: 2.7.1~35^2~6^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=refs%2Fheads%2Ffeature%2Fupgrade;p=teleforma.git uvicorn: add host --- diff --git a/app/asgi.sh b/app/asgi.sh index 487e8883..f6409ce5 100755 --- a/app/asgi.sh +++ b/app/asgi.sh @@ -13,8 +13,8 @@ else # static files auto update # watchmedo shell-command --patterns="$patterns" --recursive \ # --command='python '$manage' collectstatic --noinput' $app & - # daphne -b 0.0.0.0 -p 8000 asgi:application - uvicorn asgi:application --log-level warning --workers 8 + #daphne -b 0.0.0.0 -p 8000 asgi:application + uvicorn asgi:application --host 0.0.0.0 --log-level info --workers 8 --ws websockets fi