I was going to update to using sqlite database into the mysql database on my django project. after replaced settings.py like bellow:
` DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '*',
'USER': '*',
'PASSWORD': '*',
'HOST': 'localhost',
'PORT': '***',
}
}
then I excuted this command systemctl restart gunicorn
here is the screenshot:
You need to check Nginx configuration on your OS. The error says that the configuration was incorrect.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.