Hello!
On Mon, Oct 13, 2014 at 2:49 PM, Yichun Zhang (agentzh) wrote:
> On Tue, Sep 23, 2014 at 6:59 AM, Hamish Forbes wrote:
>> I think I've found a bug, or at least a behaviour change, relating to
>> ngx.location.capture when combined with ngx_proxy and the X-Forwarded-For
>> request header.
>> I'm not sure if this is something that changed in the nginx core or in
>> ngx_lua.
>>
>> I'm trying to use proxy_set_header to set a header to $http_x_forwarded_for
>> (We're doing this due to the way out puppet/hiera config system works, I've
>> got a workaround in place so its not urgent).
>>
>
> Thank you for the report! This is indeed an issue due to recent
> changes in the nginx core.
>
> I'll attempt a fix soon.
I think it's already fixed in the latest version. Will you please
verify that with the latest OpenResty 1.9.7.1 RC2 release?
Thanks a lot and sorry for the long delay on my side.
Best regards,
-agentzh