Ubuntu deploying Django project

Time:2021-2-24

Deploying multiple projects on one host
nginx+Gunicorn+django

Modify hosts and make it effective

sudo gedit /etc/hosts 

preservation.
Restart the network:

service network-manager restart

Configure nginx

Configure gunicorn

Configure Django


Reference connection
Django build personal blog: deploy project to server
Ubuntu 20.04 and 18.04 modify hosts and make it effective
How does nginx handle a request
The relationship between nginx and host