django production

15 views
Skip to first unread message

Kamal Sharma

unread,
Jul 3, 2018, 3:01:47 AM7/3/18
to django...@googlegroups.com
Dear Django community, 
 
i have deployed my django project at production server with gunicorn and nginx and it is working good. 

My question is can i deploy more then one django project on production server(ubuntu 16.04) for running two websites?

Thank you

Kamal Sharma

PASCUAL Eric

unread,
Jul 3, 2018, 3:33:13 AM7/3/18
to django...@googlegroups.com

Hi Kamal,


Of course you can. It's just a matter of defining virtual hosts in Nginx configuration and route them to the different Gunicorns serving your apps, based on the host found in the requests URLs.


Best regards


Eric


From: django...@googlegroups.com <django...@googlegroups.com> on behalf of Kamal Sharma <kamal...@gmail.com>
Sent: Tuesday, July 3, 2018 9:01:09 AM
To: django...@googlegroups.com
Subject: django production
 
--
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...@googlegroups.com.
To post to this group, send email to django...@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/CAByCWTQ-_wYAYZAB1r-wCHwXdJVxrOViHqTfg5dK%2BCKmJSqw5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages