Welcome! Log In Create A New Profile

Advanced

Re: proxy_read_timeout for an apache location?

Francis Daly
March 08, 2013 03:35PM
On Fri, Mar 08, 2013 at 09:49:39AM -0800, Grant wrote:

Hi there,

> >> Can I set proxy_read_timeout for only a particular location which is
> >> passed to apache?
> >
> > http://wiki.nginx.org/HttpProxyModule#proxy_read_timeout

That's a good resource.

http://nginx.org/r/proxy_read_timeout redirects to the official
documentation for the directive, and if it says "context: location",
then it can apply to a particular location.

> This config causes nginx to serve the request instead of apache:
>
> location /for-apache.html {
> proxy_read_timeout 30m;
> }
>
> Can I pass for-apache.html to apache and wait 30m for it?

In nginx, one request is handled in one location. Only the configuration
in, or inherited into, that location applies.

To send to apache, you need the proxy_pass directive -- which has
documentation at http://nginx.org/r/proxy_pass

So the answer is "yes you can, but you have to configure it".

f
--
Francis Daly francis@daoine.org

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

proxy_read_timeout for an apache location?

Grant March 08, 2013 02:32AM

Re: proxy_read_timeout for an apache location?

mex March 08, 2013 05:53AM

Re: proxy_read_timeout for an apache location?

Grant March 08, 2013 12:52PM

Re: proxy_read_timeout for an apache location?

Francis Daly March 08, 2013 03:35PM

Re: proxy_read_timeout for an apache location?

Grant March 09, 2013 10:56PM

Re: proxy_read_timeout for an apache location?

Francis Daly March 08, 2013 03:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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