Forward on a per user basis

Jonas Pfenniger at
Fri Nov 10 19:27:21 MSK 2006

I know it's a little bit weird, but I would like to do something like this :

I would like to use nginx to manage an http-basic authentication. That's okay.

Then I would like to forward each user to a different ruled url.

Like :

  proxy_pass http://unix:/home/$USER/local.socket:/admin /;

Where $USER is the authenticated user.

Do you think that this it feasible ?


More information about the nginx mailing list