Django migration to postgres - 502 badgateway error in ngnix

2016-07-13 Thread khaleela . visolve
Am migrating to postgres. My local configuration is runnign without ngnix and my complete migration porcess is working fine in my development machine. During deployment to production, where the ngnix is configured to run django - I get the error as: "upstream prematurely closed connection whi

Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread khaleela . visolve
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+unsubscr...@googlegroups.com. To post to this group,

Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread khaleela . visolve
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