nginx#
- Nginx Django project deploy
- essential dependency install
- Creating the PostgreSQL Database and User
- First, create a database for your project
- Next, create a database user for our project. Make sure to select a secure password
- Creating a Python Virtual Environment for your Project
- Clone and Configuring a New Django Project
- Change the settings with your PostgreSQL database information.You can leave the PORT setting as an empty string
- Testing Gunicorn’s Ability to Serve the Project
- Creating systemd Socket and Service Files for Gunicorn
- Gunicorn
- We can add daphne configuration on gunicorn service
- Checking for the Gunicorn Socket File
- Testing Socket Activation
- Configure Nginx to Proxy Pass to Gunicorn