Tagged
Gunicorn guides
Hands-on guides that cover Gunicorn. Every command is run and verified on a live server before it is published.
GuideRun gunicorn Under systemd
Turn a Flask app into a gunicorn systemd service that starts on boot and restarts on failure, then kill it and watch systemd bring it back with a new PID.
GuidePut gunicorn Behind nginx
Put gunicorn behind nginx over a unix socket, forward the right proxy headers, and prove a request through nginx returns 200 from the Flask app.
GuideWorkers and Concurrency
Size gunicorn workers with the two times cores plus one rule, see the worker PIDs, and watch concurrent requests spread across every worker.