Created
August 8, 2021 15:04
-
-
Save spdin/08ca1b29954b2c78a65ba1164cf04da5 to your computer and use it in GitHub Desktop.
gunicorn command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gunicorn -w 5 -b 127.0.0.1:8811 api:app -t 120 --reload --max-requests 100 --access-logfile log.txt --access-logformat '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" %({X-REMOTE-ADDR}i)s %({X-REAL-IP}i)s' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment