So is "rewrite_by_lua" also evil?

agentzh agentzh at gmail.com
Sat Oct 15 13:22:32 UTC 2011


On Sat, Oct 15, 2011 at 7:37 PM, Nginx User <nginx at nginxuser.net> wrote:
> Would it mean "if" blocks? The last, redirect, permanent etc flags
> available to rewrite are very convenient.
>

Making different Nginx modules work together requires a bit more
understanding of how things work behind the scene, like phase handler
running order and etc.

Nginx is full of dark magic already. That's the Nginx way of doing
things (at least for now) and let's face it.

Do not expect everything to work intuitively for multi-module
scripting especially when interacting with ngx_rewrite. And that's why
I suggest staying in pure Lua as much as possible.

Regards,
-agentzh



More information about the nginx mailing list