What is the correct way to leave gunicorn running?

前端 未结 9 2023
南方客
南方客 2020-12-23 13:48

I want to make a Flask+Nginx+Gunicorn deployment. I have Nginx setup and running and I run gunicorn as described in the docs:

gunicorn app:app
9条回答
  •  旧巷少年郎
    2020-12-23 14:29

    use --daemon to the binding command of gunicorn. ex:

    gunicorn --bind 0.0.0.0:8001 your_project.wsgi --daemon
    

提交回复
热议问题