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:
-- 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 hereOn Thu, Jul 14, 2016 at 10:43 AM, Rafael E. Ferrero <rafael....@gmail.com> wrote:YES, I do !!
Rafael E. Ferrero2016-07-14 11:16 GMT-03:00 <khaleela...@gmail.com>:--
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 .
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/e3f5d76a- .a844-44a0-847c-eb0e18c3c3da% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
To view this discussion on the web visit https://groups.google.com/d/--
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 .msgid/django-users/CAJJc_ .8VQLt5pqHzV7q96tFqiwyChS4% 3DkTFKY1OHMNQ0L62Hm5Q%40mail. gmail.com
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+unsubscribe@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.
No comments:
Post a Comment