proxy_read_timeout for an apache location?

Grant emailgrant at gmail.com
Sun Mar 10 03:54:02 UTC 2013


>> 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".

Got it, thank you.

location /for-apache.html {
        proxy_read_timeout 30m;
        proxy_pass http://127.0.0.1:8080;
}

- Grant



More information about the nginx mailing list