This question has been archived.

Why my django app dont work with gunicorn?

March 26, 2015 2k views
Getting Started Django Python DigitalOcean Ubuntu

Hi , I am trying to put my django app in production and gunicorn with nginx , I rewrote this file /etc/init/gunicorn.conf to my own configuration and rutes but it doesnt work , the page show me a Internal Server Error

this is my gunicorn.conf

description Gunicorn daemon for Django project

start on (local-filesystems and net-device-up IFACE=eth0)
stop on runlevel [!12345]

# If the process quits unexpectadly trigger a respawn

setuid django
setgid django
chdir /home/django

exec gunicorn \
    --name=deltaa1 \
    --pythonpath=deltaa1 \
    --bind= \
    --config /etc/gunicorn.d/ \

this is my project estructure


in (deltaa1) you can find the
in (alien_air) you can find the

what is wrong?

Be the first one to answer this question.