Welcome! Log In Create A New Profile

Advanced

Re: Sub-request using Parent Request Body

agentzh
January 08, 2011 02:26AM
On Sat, Jan 8, 2011 at 4:14 AM, Roman Vasilyev <roman@anchorfree.com> wrote:
>
>>> 2) when I'm just including  *rewrite_by_lua* with simple return, I'm
>>> loosing
>>> all headers from parent cite, please help me with best solution for that.
>>>
>>
>> I'm not sure what you're talking about here. Can you provide a minimal
>> config sample for this issue?
>>
>
> Showing 2 config which replacing whole headers from proxy to some internal
> staff:

Nice catch :) I've added this to the test suite and fixed it in the
v0.1.2rc1 release candidate:

https://github.com/chaoslawful/lua-nginx-module/tarball/v0.1.2rc1

Could you please try it out?

>
>>
>>>
>>> 3) why you prefer NDK to clear nginx environment?
>>>
>>
>> NDK just provides the "set_var" mechanism for ngx_lua. What do you
>> mean by "clearing nginx environment"?
>>
>
> I mean if you using just this function may be better to include it into your
> module
> NDK patchnig nginx and it not clear, because you actually never need it.
>

The latest NDK (pre-)release no longer patches the nginx core:

https://github.com/simpl/ngx_devel_kit/tarball/v0.2.14rc1

Please confirm it on your side. If it still does, then it should be
considered a bug and I'll report it to Marcus Clyne :)

Thanks!
-agentzh

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

Sub-request using Parent Request Body

Roman Vasilyev January 03, 2011 10:00PM

Re: Sub-request using Parent Request Body

agentzh January 03, 2011 10:22PM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 03, 2011 10:54PM

Re: Sub-request using Parent Request Body

agentzh January 04, 2011 01:28AM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 04, 2011 07:24PM

Re: Sub-request using Parent Request Body

agentzh January 06, 2011 12:06AM

Re: Sub-request using Parent Request Body

agentzh January 06, 2011 12:08AM

Re: Sub-request using Parent Request Body

agentzh January 06, 2011 12:16AM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 06, 2011 07:38PM

Re: Sub-request using Parent Request Body

Adrian Janeczek January 06, 2011 07:38PM

Re: Sub-request using Parent Request Body

agentzh January 07, 2011 01:40AM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 07, 2011 03:18PM

Re: Sub-request using Parent Request Body

agentzh January 08, 2011 02:26AM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 10, 2011 02:42PM

Re: Sub-request using Parent Request Body

Roman Vasilyev January 10, 2011 03:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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