Hello all,thanks for the response.

I do use ngnix + uwsgi + postgres.

Before it was mongo DB, am migrating that to postgres. When I change the 
settings from mongo to postgres in Django settings file, immediately I get 
502 bad gateway error. 

And in ngnix log following error occurs:
 " upstream prematurely closed connection while reading response header 
from upstream"

When I revert that settings back to mongo - it works fine.

Did any one of you encountered this type of issues during your deployment ? 


On Thursday, July 14, 2016 at 8:39:00 PM UTC+5:30, Vijay Khemlani wrote:
>
> nginx + uwsgi + postgres here
>
> On Thu, Jul 14, 2016 at 10:43 AM, Rafael E. Ferrero <rafael....@gmail.com 
> <javascript:>> wrote:
>
>> YES, I do !!
>>
>>
>> Rafael E. Ferrero
>>
>> 2016-07-14 11:16 GMT-03:00 <khaleela...@gmail.com <javascript:>>:
>>
>>>
>>>  Any one tried of Django Postgres with Ngnix?
>>>
>>> -- 
>>> 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 <javascript:>.
>>> To post to this group, send email to django...@googlegroups.com 
>>> <javascript:>.
>>> 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/e3f5d76a-a844-44a0-847c-eb0e18c3c3da%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/e3f5d76a-a844-44a0-847c-eb0e18c3c3da%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> 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 <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> 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/CAJJc_8VQLt5pqHzV7q96tFqiwyChS4%3DkTFKY1OHMNQ0L62Hm5Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CAJJc_8VQLt5pqHzV7q96tFqiwyChS4%3DkTFKY1OHMNQ0L62Hm5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/5a9efd21-94c5-43cf-9319-9fb700cf94bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to