Steve Wilson
September 19, 2015 06:42AM
Adding the below should remove any authentication headers in the request
to the backend server(s).

proxy_set_header "Authorization" "";

Steve.

On 15/09/2015 14:33, derp14 wrote:
> Hello,
>
> Please excuse me if this has been asked/solved before. I've searched an
> answer for some good hours but haven't found so i'm trying here.
>
> I have a website on some different server, which does not have any
> authentication. (So it loads directly the private stuff)
> I have configured nginx as a reverse proxy which is pretty clear, and
> works
> fine.
>
> Is it possible to configure basic authentication in nginx as the only
> layer
> of authentication, and if this is succesfull continue with the reverse
> proxy
> role and load the website from a different server?
>
> Thank you!
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,261623,261623#msg-261623
>
> _______________________________________________
> 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

reverse proxy + basic authentication

derp14 September 15, 2015 09:33AM

Re: reverse proxy + basic authentication

Steve Wilson September 19, 2015 06:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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