nginx SSO service for different backend web servers/apps

Alexandr Gomoliako zzz at
Tue Dec 13 22:33:18 UTC 2011

On Wed, Dec 14, 2011 at 12:02 AM, q42jaap <nginx-forum at> wrote:
> Any luck on this topic? I'm trying to see if we can achieve exactly the
> same scenario.

The easiest way is to use embedded scripting. You can authenticate and
authorize from within some perl handler, where you can set variables and
pass them to upstream through internal redirect. It's not perfect and maybe
even ugly, but should work.

Proper solution would be to use scripted access handler, which is doable
with 3rd party modules/distributions.

More information about the nginx mailing list