Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

383
Views
*13 upstream prematurely closed connection while reading response header from upstream

I am configuring for 1st time and getting this error. Nginx site-enabled config is as follows:

#tream component nginx needs to connect to
 upstream django1 {
#server 127.0.0.1:8001; # for a web port socket (we'll use this first)
server unix:///run/uwsgi/app/apps/sokcet.B;
 }

# configuration of the server
server {

# the port your site will be served on
listen 9000;

# the domain name it will serve for
server_name xxx.xxx.xx.xxx; # substitute your machine's IP address or FQDN
charset     utf-8;

# max upload size
client_max_body_size 75M;   # adjust to taste

# Django media
#location /media  {
#    alias /path/to/your/mysite/media;  # your Django project's media files - amend as required
#}

#location /static {
#    alias /path/to/your/mysite/static; # your Django project's static files - amend as required
#}

# Finally, send all non-media requests to the Django server.
location / {
    uwsgi_pass  django1;
    include     /etc/nginx/uwsgi_params; # the uwsgi_params file you installed
    uwsgi_read_timeout 1800;
    uwsgi_send_timeout 600;
    proxy_read_timeout 600;
}
}

Uwsgi is running but nginx is giving this error. So kindly tell me what is the issue in my configuration.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!