Z
Z
zkweb2015-08-24 10:08:53
Django
zkweb, 2015-08-24 10:08:53

How to solve error with Nginx + UWSGI?

Ubuntu 15
Nginx 1.8.0
Uwsgi - 2.0
Django - 1.8
I collected everything according to the Nginx + Uwsgi + Django manual
As a result, an error appeared in the nginx logs:

2015/08/24 11:01:50 [error] 18363#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 172.20.1.68, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:///home/adminko/project/uwsgi.sock:", host: "172.20.1.222:8080", referrer: "http://172.20.1.222:8080/"

And the http response itself
502 Bad Gateway
nginx/1.8.0

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question