fixed uwsgi config for stats via http

This commit is contained in:
Jenny Danzmayr 2023-11-12 16:25:10 +01:00
parent ebac0e5f77
commit 2706f347a4

View file

@ -21,6 +21,7 @@ web)
--pythonpath "/app/src" \
--enable-threads --ignore-sigpipe --disable-logging --need-app \
--stats ":5000" \
--stats-http \
--http "0.0.0.0:8000"
;;
webstatic)
@ -32,6 +33,7 @@ webstatic)
--static-map "${C3NAV_STATIC_URL:-/static}=${C3NAV_STATIC_ROOT:-/app/c3nav/static.dist}" \
--static-safe "/app/c3nav/static" \
--stats ":5000" \
--stats-http \
--http "0.0.0.0:8000"
;;
web-async)