How to deplou 2 different django website in nginx?

17 views
Skip to first unread message

Fellipe Henrique

unread,
Jan 4, 2015, 6:52:21 PM1/4/15
to django...@googlegroups.com
Hi there!

I`m trying to make my nginx server work with 2 domains, with 2 different django websites.

So, I have  a big, big problem here, because, when I type my domain2, appears my domain1... here is my 2 conf files I make to try to make 2 domains works.

Can anyone tell me, what I'm doing wrong here? I have a big, big problem, because my domain2 (my second django website)  will works with various sub-domains... I'm not getting create a domain, how can I create various subdomains? :)

Best regards,



T.·.F.·.A.·.     S+F
Fellipe Henrique P. Soares

e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
Twitter: @fh_bash

Vijay Khemlani

unread,
Jan 5, 2015, 2:20:09 AM1/5/15
to django...@googlegroups.com
as far as i know about nginx, server names are not separated by commas, just spaces.

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF1jwZEnwS0pR4myRcG396FWSNGT90EhL80dBM1R2m06RNhE1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages