HTTP Basic Auth question

B.R. reallfqq-nginx at yahoo.fr
Wed May 1 17:17:41 UTC 2013


To pass the nginx user to a fastcgi backend (PHP), I have to explicitly
specify it using the following directive:
fastcgi_param   MY_USER      $remote_user;

I suppose you can do the same with proxy_pass?
I dunno how to remove an automatically forwarded parameter though... Maybe
overwriting it with an empty string?
---
*B. R.*


On Wed, May 1, 2013 at 10:26 AM, Russ Lavoy <ussray_00 at yahoo.com> wrote:

> Hello,
>
> I am running nginx as a reverse proxy to a python application.  I am
> wondering how I would be able to pass ONLY the user account and not the
> password.  Can this be done?
>
> Thanks!
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130501/09da6f0a/attachment.html>


More information about the nginx mailing list