Welcome! Log In Create A New Profile

Advanced

Re: lua possibilities/limitations

agentzh
February 13, 2011 11:18PM
On Mon, Feb 14, 2011 at 12:08 PM, agentzh <agentzh@gmail.com> wrote:
>
> Your code below is totally wrong because you do not understand nginx
> request phases well enough :)
>

Just want to mention that plain nginx.conf programming can be evil
because IMHO 99.99% of the nginx users on this planet do not and I bet
will not grok all of these details about nginx phases and various
pitfalls regarding "if", "add_header", and etc. Mixing these with or
without Lua can be confusing. And that's why we're advocating pure Lua
scripting wherever feasible. Add your headers and doing your code
branches using pure Lua because it's a mature and well designed
language (as compared to the nginx.conf language).

Some mature nginx users or developers might disagree here. But that's
*our* opinions and recommendations anyway :)

Cheers,
-agentzh

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

lua possibilities/limitations

Richard Kearsley February 13, 2011 01:16AM

Re: lua possibilities/limitations

agentzh February 13, 2011 11:12PM

Re: lua possibilities/limitations

agentzh February 13, 2011 11:18PM

Re: lua possibilities/limitations

Eugaia February 14, 2011 05:38AM

RE: lua possibilities/limitations

Richard Kearsley February 14, 2011 06:50PM

Re: lua possibilities/limitations

agentzh February 14, 2011 11:32PM

Re: lua possibilities/limitations

Eugaia February 15, 2011 04:02AM

Re: lua possibilities/limitations

agentzh February 15, 2011 05:50AM

Re: lua possibilities/limitations

agentzh July 04, 2011 05:32AM

RE: lua possibilities/limitations

Richard Kearsley July 04, 2011 08:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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