Welcome! Log In Create A New Profile

Advanced

Re: Our nginx module development roadmap (draft)

agentzh
November 27, 2010 07:38AM
On Sat, Nov 27, 2010 at 8:33 PM, Delta Yeh <delta.yeh@gmail.com> wrote:
> Can we use ngx_lua to do access control? security check ?
>  I mean  some feature of mod_security.
>

We're already using ngx_lua to do most of the access control in
production (the other part is done by iptables for sure ;)).

There's mainly 3 ways:

1. Use set_by_lua directly, combined with the standard ngx_rewrite
module if your checking logic does not require network I/O.

2. Use Maxim Dounin's ngx_http_auth_request module to issue a
subrequest to a location configured by "content_by_lua" if your checks
require I/O.

3. If your content handler is already content_by_lua, just use normal
Lua code to do access control there.

Cheers,
-agentzh

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

Our nginx module development roadmap (draft)

agentzh 3278 November 26, 2010 05:10AM

Re: Our nginx module development roadmap (draft)

Mr.Hien 1709 November 26, 2010 06:46AM

Re: Our nginx module development roadmap (draft)

mike 1537 November 26, 2010 06:54AM

Re: Our nginx module development roadmap (draft)

agentzh 1104 November 27, 2010 04:30AM

Re: Our nginx module development roadmap (draft)

mike 1629 November 27, 2010 04:58AM

Re: Our nginx module development roadmap (draft)

agentzh 1179 November 27, 2010 06:56AM

Re: Our nginx module development roadmap (draft)

deltay 1239 November 27, 2010 12:52AM

Re: Our nginx module development roadmap (draft)

agentzh 1044 November 27, 2010 04:04AM

Re: Our nginx module development roadmap (draft)

deltay 1192 November 27, 2010 07:08AM

Re: Our nginx module development roadmap (draft)

agentzh 1056 November 27, 2010 07:20AM

Re: Our nginx module development roadmap (draft)

deltay 1353 November 27, 2010 07:34AM

Re: Our nginx module development roadmap (draft)

agentzh 1063 November 27, 2010 07:38AM

Re: Our nginx module development roadmap (draft)

deltay 1174 November 27, 2010 07:54AM

Re: Our nginx module development roadmap (draft)

agentzh 1264 November 27, 2010 08:38AM

Re: Our nginx module development roadmap (draft)

Weibin Yao 1159 November 28, 2010 09:44PM

Re: Our nginx module development roadmap (draft)

deltay 1529 May 29, 2011 12:52PM

Re: Our nginx module development roadmap (draft)

agentzh 997 May 30, 2011 01:42AM

Re: Our nginx module development roadmap (draft)

deltay 1482 May 30, 2011 05:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready