Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Django migration to postgres - 502 badgateway error in ngnix
19 views
Skip to first unread message
khaleela...@gmail.com
unread,
Jul 13, 2016, 8:41:34 AM
7/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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 while reading response header from upstream"
This has happened when I do the deployment of postgres settings in the settings. The upstream is pointing to "uwsgi" config.
Not sure, whether its an existing issue.
Can someone help me. Is someone facing the same issue out there?
Reply all
Reply to author
Forward
0 new messages