Maxim Dounin
September 02, 2014 10:00AM
Hello!

On Mon, Sep 01, 2014 at 02:05:46PM -0400, manish-ezest wrote:

> Hello Maxim,
>
> Like you suggested I have set "recursive_error_pages" to off but still I am
> facing the problem. This time I am getting "504 Gateway Time-out" error. I
> have already shared my NGINX and vhost configuration. We have one fastcgi
> script running for serving error pages which checks the entry of
> sample.xml(contains url) file and redirect the link to particular location.
> If it doesn't find any page then it returns a 404 page. I am pasting the log
> file of fastcgi script as well.

The error is as clear as it could be: your backend failed to
respond in time. As previously suggested, it may be due to the
fact that it's overloaded.

There are many options on how to fix this:

- Improve your backend performance by optimizing the code.

- Add more resources to the backend cluster (more processes on a
single server and/or more servers).

- Rethink your nginx configuration to avoid using the script
(e.g., use nginx configuration to do redirects instead, this
should be much more efficient).

In either case, everything in your configuration seems to work
correctly as configured.

--
Maxim Dounin
http://nginx.org/

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

NGINX redirection issue

manish-ezest August 06, 2014 11:37PM

Re: NGINX redirection issue

Maxim Dounin August 07, 2014 04:06AM

Re: NGINX redirection issue

manish-ezest August 07, 2014 12:02PM

Re: NGINX redirection issue

manish-ezest August 08, 2014 06:01AM

Re: NGINX redirection issue

Maxim Dounin August 08, 2014 10:52AM

Re: NGINX redirection issue

manish-ezest August 08, 2014 10:49PM

Re: NGINX redirection issue

Maxim Dounin August 09, 2014 09:12PM

Re: NGINX redirection issue

manish-ezest August 29, 2014 04:05AM

Re: NGINX redirection issue

Maxim Dounin August 30, 2014 10:48PM

Re: NGINX redirection issue

manish-ezest September 01, 2014 02:05PM

Re: NGINX redirection issue

Maxim Dounin September 02, 2014 10:00AM

Re: NGINX redirection issue

manish-ezest September 03, 2014 03:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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