Welcome! Log In Create A New Profile

Advanced

Re: Ngix reverse proxy pass authentication IIS

Francis Daly
May 12, 2020 10:52AM
On Mon, May 11, 2020 at 06:36:10PM -0400, evulcu wrote:

Hi there,

> I'm trying to set up a reverse proxy with NGNIX on a Ubuntu Server. The
> upstream server is IIS configured with basic authentication working only as
> https since it has a 301 redirection configured on it.

what does

curl -ik https://192.168.99.14

return? Assuming it is a http 401, then most interesting is the next word
after "WWW-Authenticate:". If it is not "Basic", then your upstream is
not configured the way that you think it is. (And that will block it from
working through stock-nginx.)

> I'm redirect to the upstream server and asked for credential but nothing
> happens. Looks like the credential are not pass to the upstream server.
> Please can somebody help me.

If the above does not show the fix, then:

* what request do you make?
* what response do you want?
* what response do you get instead?

Possibly there will be something interesting in the IIS server logs too.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Ngix reverse proxy pass authentication IIS

evulcu May 11, 2020 06:36PM

Re: Ngix reverse proxy pass authentication IIS

Francis Daly May 12, 2020 10:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 45
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready