Welcome! Log In Create A New Profile

Advanced

Re: Does nginx support authentification like LDAP or mysql?

agentzh
November 06, 2009 02:00AM
On Sat, Oct 31, 2009 at 3:36 PM, Rob Schultz <rschultz7@gmail.com> wrote:
> Just have your php script do the auth and have it send the X-Accel-Redirect
> header and nginx will serve the file.
>

Well, the sad part of this approach is that if the
PHP/Python/Perl/whatever script requires TCP I/O itself (no matter
it's memcached or an RDBMS or upstream web service queries), it will
block the process running the script (although the nginx worker
process itself won't block if fastcgi is used here).

So we're pondering extending the idea of X-Accel-Redirect and makes it
possible to pass along "continuations" so that the backend script can
effectively issue nginx subrequests and let nginx do all the I/O
operations involved in its own event model. It's very likely to get
*better* concurrency over all :)

Cheers,
-agentzh
Subject Author Posted

Does nginx support authentification like LDAP or mysql?

partysoft October 31, 2009 02:07AM

Re: Does nginx support authentification like LDAP or mysql?

Rob Schultz October 31, 2009 03:42AM

Re: Does nginx support authentification like LDAP or mysql?

partysoft November 05, 2009 11:50AM

Re: Does nginx support authentification like LDAP or mysql?

partysoft November 05, 2009 12:04PM

Re: Does nginx support authentification like LDAP or mysql?

agentzh November 06, 2009 02:00AM

Re: Does nginx support authentification like LDAP or mysql?

partysoft November 23, 2009 11:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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