Welcome! Log In Create A New Profile

Advanced

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

agentzh
June 08, 2011 10:10PM
On Thu, Jun 9, 2011 at 3:30 AM, 杨镭 <clanherb@gmail.com> wrote:
> I am curious when there is an output_by_lua/output_by_luafle directive in
> nginx-lua module.

We will probably have header_filter_by_lua and body_filter_by_lua
directives by this Christmas ;)

For simplicity, I'll just borrow the mechanism used by
set_by_lua(_file) and disable subrequest support like
ngx.location.capture() in lua output filters.

> Currently, if one want to set/modify response header, the
> only possible way is to do a subrequest using ngx.capture.
> I think this is really cumbersome compared to declarative configuration such
> as: output_by_lua_file.

Agreed :)

Regards,
-agentzh

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

Rewriting the domain part of Set-Cookie in a proxy_pass

tobia June 08, 2011 09:16AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

António P. P. Almeida June 08, 2011 09:36AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

tobia June 08, 2011 10:02AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

tobia June 08, 2011 10:06AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

Justin Cormack June 08, 2011 10:18AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

杨镭 June 08, 2011 03:32PM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

agentzh June 08, 2011 10:10PM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

tobia June 27, 2011 04:50AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

Maxim Dounin June 08, 2011 10:20AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

agentzh September 14, 2011 04:50AM

Re: Rewriting the domain part of Set-Cookie in a proxy_pass

agentzh September 14, 2011 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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