3👍
✅
nginx cannot be actually running the site, as it is not a WSGI server. Presumably it is running as a proxy to something like gunicorn or uWSGI; it is those that you need to restart.
0👍
Autoreload in production is not good idea, but if you understand what you do, you can use additional python
module for autoreloading or use additional param for uwsgi
. Django devel autoreloading not works with uwsgi
.
- [Django]-Django 2.0 – Facebook login with allauth – Can't Load URL: The domain of this URL isn't included in the app's domains
- [Django]-Annotate Total Count of Descents of Mptt Model
- [Django]-How can I cast a DateField() + TimeField() to local time in a Django QuerySet?
- [Django]-Start gunicorn when docker-compose is not in same folder
Source:stackexchange.com