flask gunicorn nginx sock code example Example: run flask in gunicorn $ gunicorn "myproject:create_app()"