Hi frocco

May be this post can ve useful for you, althought instead of uwsgi use 
gunicorn 
http://michal.karzynski.pl/blog/2013/10/29/serving-multiple-django-applications-with-nginx-gunicorn-supervisor/

On Tuesday, March 1, 2016 at 11:56:57 AM UTC-5, frocco wrote:
>
> Hi,
>
> I followed this
> https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/modwsgi/
>
> First app works fine, if I deploy the second app, the settings conflict 
> and images are not rendered.
>
> [code]
> Alias /static /var/www/django/track/static
>
> <Directory /var/www/django/track/static>
>     Require all granted
> </Directory>
>
> <Directory /var/www/django/track>
>     <Files wsgi.py>
>         Require all granted
>     </Files>
> </Directory>
>
>
> <Directory '/etc/httpd/django/scripts'>
>     Require all granted
> </Directory>
>
> WSGIDaemonProcess track 
> python-path=/var/www/django/track:/usr/lib/python2.7/site-packages
> WSGIProcessGroup track
> WSGIScriptAlias /track /var/www/django/track/track/wsgi.py 
> process-group=track
> [/code]
>
> [code]
> Alias /static /var/www/django/coffee/static
>
> <Directory /var/www/django/coffee/static>
>     Require all granted
> </Directory>
>
> <Directory /var/www/django/coffee>
>     <Files wsgi.py>
>         Require all granted
>     </Files>
> </Directory>
>
>
> <Directory '/etc/httpd/django/scripts'>
>     Require all granted
> </Directory>
>
> WSGIDaemonProcess coffee 
> python-path=/var/www/django/coffee:/usr/lib/python2.7/site-packages
> WSGIProcessGroup coffee
> WSGIScriptAlias /coffee /var/www/django/coffee/coffee/wsgi.py 
> process-group=coffee
>
>
> [/code]
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bcb39068-2d4c-490f-bdcc-5eceb1e0ac5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to