Apache + mod_wsgi vs nginx + gunicorn

前端 未结 4 1546
天涯浪人
天涯浪人 2021-01-31 17:04

I want to deploy a django site (it is the open source edx code on github).

I am faced with choosing between using

  1. Apache with mod_wsgi
  2. nginx with
4条回答
  •  滥情空心
    2021-01-31 17:18

    I have good experience with nginx and gunicorn. They keep on working great when I've finally set all the settings right and got it running.

    For nginx and gunicorn they are:

    * nginx configuration files (/etc/nginx/sites-enabled/ and /etc/nginx/nginx.conf)
    * gunicorn configuration files (/etc/init/gunicorn.conf and /etc/gunicorn.d/) 
    

    I've seen a tutorial for apache + mod_wsgi and it seems so much simpler to set up.

提交回复
热议问题