Welcome! Log In Create A New Profile

Advanced

Re: HTTP Basic Auth question

B.R.
May 01, 2013 01:20PM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP Basic Auth question

Russ Lavoy May 01, 2013 10:28AM

Re: HTTP Basic Auth question

B.R. May 01, 2013 01:20PM

Re: HTTP Basic Auth question

Francis Daly May 01, 2013 05:48PM

Re: HTTP Basic Auth question

Russ Lavoy May 09, 2013 03:56PM

Re: HTTP Basic Auth question

Francis Daly May 09, 2013 06:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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