Sure, will work on adding support.
I planning to upgrade from RC1 to RC2. Are you planning to include my patch for upstream two way SSL in nginx in future release?
> On Sep 7, 2014, at 4:23 PM, "Yichun Zhang (agentzh)" <age...@gmail.com> wrote:
>
> Hello!
>
>> On Sun, Sep 7, 2014 at 8:58 AM, RJoshi wrote:
>> I am trying to add support for request timeout using nginx
>> proxy_read_timeout directive.
>> When I set this directive with variable , it gives below error.
>
> This directive (as well as other proxy_xxxx_timeout directives) does
> not support nginx variables. You need to patch the standard ngx_proxy
> module to add support for that :)
>
>> 1. how much is overhead for internal rewrite
>
> Usually neglect-able. But you can always measure it yourself.
>
>> 2. It is not really service/request based and add have to multiple
>> locations based on different timeout values.
>
> The best way is to let proxy_xxxx_timeout directives support nginx
> variables. You're welcome to submit patches to the nginx-devel mailing
> list.
>
> Regards,
> -agentzh.