Welcome! Log In Create A New Profile

Advanced

Re: fastcgi_pass and http upstream

Francis Daly
April 03, 2017 07:42PM
On Wed, Mar 22, 2017 at 08:47:00PM +0100, Vucomir Ianculov via nginx wrote:

Hi there,

> i have a situation where i have 2 Apache backed server and 2 php-fpm backed server. i would like to setup up a upstream to include all 4 back-ends or somehow to balance the requestion on all 4 back-ends back-ends.
> is it possible?

You have two http servers, and two fastcgi servers; and you want nginx
to handle a single request by using the appropriate one of proxy_pass
and fastcgi_pass, with telling nginx which one to use?

I do not think that it can be done.

You can share certain requests among the http servers; and you can share
certain other requests among the fastcgi servers; but I believe you
can't have a single incoming request balanced across different protocols
in stock nginx.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

fastcgi_pass and http upstream

Vucomir Ianculov via nginx March 22, 2017 03:38PM

Re: fastcgi_pass and http upstream

Vucomir Ianculov via nginx March 22, 2017 03:48PM

Re: fastcgi_pass and http upstream

Yuriy Medvedev March 22, 2017 03:58PM

Re: fastcgi_pass and http upstream

Vucomir Ianculov via nginx March 23, 2017 03:04AM

Re: fastcgi_pass and http upstream

Vucomir Ianculov via nginx April 03, 2017 10:50AM

Re: fastcgi_pass and http upstream

Vucomir Ianculov via nginx April 03, 2017 07:56PM

Re: fastcgi_pass and http upstream

Francis Daly April 03, 2017 07:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready