Welcome! Log In Create A New Profile

Advanced

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

Anoop Alias
September 13, 2016 06:06AM
Check the logs of the apache server.

You might need to tweak the proxy_*_timeout settings in nginx , but
usually its the problem with the upstream server that is causing this.
try connecting to the upstream via http://domain:port directly and you
should face the error.



On Tue, Sep 13, 2016 at 3:22 PM, hheiko <nginx-forum@forum.nginx.org> wrote:
> I don't think there is an OS relation on the frontend, the same problem
> occurs with an Centos Nginx as Reverse proxy in front of 3 Apache backends
> on Centos - but it never occurs on windows based Apache backends...
>
> But we´re on version 1.11.4.1 Lion (http://nginx-win.ecsds.eu)
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268306,269511#msg-269511
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



--
Anoop P Alias

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

"502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

maltris July 15, 2016 01:22PM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

maltris September 13, 2016 02:13AM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

hheiko September 13, 2016 03:15AM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

maltris September 13, 2016 05:26AM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

hheiko September 13, 2016 05:52AM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

Anoop Alias September 13, 2016 06:06AM

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

hheiko September 13, 2016 07:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
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