Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8833055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:41:11+00:00 2026-06-14T08:41:11+00:00

We are using nginx to front-end our apache connections with good results. I am

  • 0

We are using nginx to front-end our apache connections with good results. I am now toying with the idea of also using nginx (a separate instance) to load balance some of the back-end services. In order to be able to do that I want to understand nginx proxy_next_upstream module behavior better.

syntax: proxy_next_upstream error | timeout | invalid_header | http_500 | http_502 | http_503 | http_504 | http_404 | off ...;

default:proxy_next_upstream error timeout;

context: http, server, location

Can I specifically use TCP RST as one of the parameters in there to mark down a load balanced server? What all does really 1st parameter i.e. “error” encapsulate? Can I add my errors (RSTs etc)? I have tried some ways of setting RSTs in there but that does not seem to work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:41:13+00:00Added an answer on June 14, 2026 at 8:41 am

    http://nginx.org/r/proxy_next_upstream

    error — an error occurred while establishing a connection with the server, passing it a request, or reading the response header;

    This must handle RST on SYN too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using nginx as the front end of my mongrel. And mongrel is listening
I have a setup where my nginx is in front with apache+PHP behind. My
I'm currently using nginx as a transparent proxy for apache. I would like to
I am using Nginx in front of 10 mongrels. When I make a request
I'm using nginx as a reverse proxy to apache/mod_wsgi and Django. Currently everything is
I'm developing a big project now and I'm thinking about using nginx with php-fpm
I am using Varnish 3 in front of nginx running multiple WordPress sites. I
I only have one VPS hosting and using nginx for Django web application. Now,
I haven't used Apache with Django very much, normally using nginx, gunicorn and a
I need to redirect help.mydomain.com/a-page to /pages/a-page without using Nginx or Apache redirects and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.