I am setting up for the first time and getting this error. A Nginx-enabled site configuration is as follows:
upstream django1 {
server unix:///run/uwsgi/app/apps/sokcet.B;
}
server {
listen 9000;
server_name xxx.xxx.xx.xxx;
charset utf-8;
client_max_body_size 75M;
location / {
uwsgi_pass django1;
include /etc/nginx/uwsgi_params;
uwsgi_read_timeout 1800;
uwsgi_send_timeout 600;
proxy_read_timeout 600;
}
}
Uwsgi is running, but nginx gives this error. So kindly tell me what the problem is in my configuration.
source
share