Hi,

On 11/24/2014 02:19 PM, Christos Jonathan Seth Hayward wrote:
> From
> http://stackoverflow.com/questions/27113466/how-can-i-deploy-django-gunicorn-under-apache-proxy
> :
> 
> 've run through the documentation and am hitting the same pages over and
> over again. At present I've found documentation to run off an existing
> myapp.wsgi file, but documentation for how to make an appropriate wsgi file
> is a little harder to find.
> 
> If I want to make, proxied by Apache, the equivalent of, on an older
> version of Gunicorn etc.:
> 
> python manage.py run_gunicorn 0.0.0.0:8888
> 
> what should I be doing to supply a WSGI file for:
> 
> gunicorn project.wsgi:application

That depends a bit on your version of Django. For any Django version
since 1.4, 'django-admin.py startproject' should generate a wsgi.py file
in your project. If your project doesn't have one, you can run
'startproject' to quickly see what one should look like and copy it into
your project.

Carl

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5473A21F.8050801%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to