Welcome! Log In Create A New Profile

Advanced

Re: nginx reverse proxy 502 bad gateway error

Maxim Dounin
April 12, 2013 12:36PM
Hello!

On Fri, Apr 12, 2013 at 12:23:53PM -0400, cruise wrote:

> Hello,
>
> I am getting 502 bad gateway error while trying to setup nginx server as
> reverse proxy server with caching enabled. Both servers are on seperate
> machines, another server having apache web server.
>
> Given below are my config files, please help me.
>
> nginx.conf
> ---------------------------------------------------------------------------------------------------------------------------------------
> user www www;
>
> worker_processes 1;
>
> error_log /home/wwwlogs/nginx_error.log crit;

First of all, try the following:

1) Configure you error log at some sensible level, e.g. "notice".

2) Reproduce the issue and look into error log.

If after the above steps you still won't be able to resolve the
issue yourself, try asking here again with error log information
included.

--
Maxim Dounin
http://nginx.org/en/donation.html

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

nginx reverse proxy 502 bad gateway error

cruise April 12, 2013 12:23PM

Re: nginx reverse proxy 502 bad gateway error

Maxim Dounin April 12, 2013 12:36PM

Re: nginx reverse proxy 502 bad gateway error

cruise April 12, 2013 01:12PM

Re: nginx reverse proxy 502 bad gateway error

cruise April 12, 2013 03:11PM

Re: nginx reverse proxy 502 bad gateway error

gatha May 20, 2016 01:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 214 on March 20, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready