diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index f9733abe..f232d262 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -23,4 +23,5 @@ touch /var/log/gunicorn/access.log /var/log/gunicorn/error.log exec gunicorn --workers="$WORKERS" konova.wsgi:application \ --bind=0.0.0.0:8000 \ --access-logfile /var/log/gunicorn/access.log \ - --error-logfile /var/log/gunicorn/error.log + --error-logfile /var/log/gunicorn/error.log \ + --access-logformat '%({x-real-ip}i)s via %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'