-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not works behind iis proxy #130
Comments
@jlguenego I wanted to ask if you could share your test configuration. So I can compare it with my system and see where the difference is. |
@lublak, I had similar challenges at first. Make sure preserve Host Headers is used and you also have to add the header It is possible, that the server context handle manager can't find the cached handle if the proxy isn't forwarding the ip and port from the client (see #116). So make sure, you are passing both within the headers. I for myself use nginx and the configuration is simple as this:
|
@anotherCoward We also switched to nginx because working with iis has always been difficult and has always presented us with problems. After switching to nginx, we no longer have any problems ourselves. That's why I can't test it anymore and would close the issue here (which I admittedly forgot). |
Describe the bug
First of all: localhost:8090/login/ works fine.
If I use iis as a reverse proxy, the whole thing doesn't work at all.
test.intranet.local/login/
On the firefox browser i get an
Malformed authentication token: NTLM
errorOn the Edge browser i get repeating logins.
To Reproduce
I added also spn.
Trace
Firefox:
Firefox after restarting the express server and just press F5
Edge:
Expected behavior
That it works with reverse proxy just like with iis.
Environment version:
Please indicates also:
Additional context
It can also be that settings must be made in the IIS.
But then it would be good to have a documentation about it.
https://github.com/jlguenego/node-expose-sspi/blob/master/doc/use-case/production-windows.md
The text was updated successfully, but these errors were encountered: