Ubuntu deploying Django project


Deploying multiple projects on one host

Modify hosts and make it effective

sudo gedit /etc/hosts 

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