Hi. I am using NGINX as reverse proxy to a webapp running on WINDOWS in IIS with ntlm AD authentication.
Normally, when you access this webapp from the browser you will see the username and password box and you login with your AD credential and you have access to the webapp.
When I put it behind the reverse proxy, the app cannot authenticate. I continuously see the same login box and keeps asking me the credentials. If I hit "cancel" I see the 401 unauthorized correctly.
There is any header or option to enable on NGINX to get this working?
server {
listen 443 ssl;
server_name mydomain;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location / {
proxy_pass http://192.168.52.23:5555;
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_connect_timeout 75s;
}
}
Thanks for help
Edited 1 time(s). Last edit at 03/20/2024 11:44AM by truffle.