Just add env = ENV
[uwsgi]
master = true
processes = 2
threads = 2
socket = /tmp/uwsgi.sock
chmod-socket = 666
chdir = /var/www/service/my_site/
module = my_site.wsgi
home = /home/ubuntu/my_site
vacuum = true
env = DJANGO_SETTINGS_MODULE=settings_dev
uid = www-data
gid = www-data
# daemonize2 = logs/uwsgi.log
'backend > django' 카테고리의 다른 글
Django: overriding admin css in django (0) | 2018.04.27 |
---|---|
Django: overriding 403 page (0) | 2018.04.26 |
django-redis install and basic usage (0) | 2018.04.16 |
Django: get all logged-in users by using session (0) | 2018.04.15 |
Django: django channels basic usage (0) | 2018.04.06 |