Closed dagmoller closed 3 years ago
Hi,
It possible that you hit a bug. Can you check if nginx process dies? Can you send me the nginx configuration file that you used?
Hi,
nginx process dos not dies.
relevant config part: upstream csp { server 10.5.1.10:80; ntlm; }
server { listen 80; server_name test-ntlm.dagcs.com;
access_log /var/log/nginx/csp.sa_access.log;
error_log /var/log/nginx/csp.sa_error.log;
location / {
proxy_pass http://csp;
proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter "http://10.5.1.10" "http://$host";
}
}
Em qua., 26 de mai. de 2021 às 18:49, gabihodoroaga < @.***> escreveu:
Hi,
It possible that you hit a bug. Can you check if nginx process dies? Can you send me the nginx configuration file that you used?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gabihodoroaga/nginx-ntlm-module/issues/1#issuecomment-849143912, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI7WGMBR4YFYYTHGYZXHD3TPVUHBANCNFSM45S2NZQA .
-- Diego Aguirre M. Möller Vivo: (21) 9-8871-4916 Claro: (21) 9-7187-7375
Hi,
You need 2 more settings for location.
...
location / {
proxy_pass http://backend;
proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter "http://10.5.1.10" "http://$host";
# next 2 settings are required for the keepalive to work properly
proxy_http_version 1.1;
proxy_set_header Connection "";
}
...
After you add the 2 missing settings it should work. Let me know.
Hi,
It's working, apparently!! Thanks!!!
Em qua., 26 de mai. de 2021 às 19:44, gabihodoroaga < @.***> escreveu:
Hi,
You need 2 more settings for location.
... location / { proxy_pass http://backend; proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter "http://10.5.1.10" "http://$host"; // next 2 settings are required for the keepalive to work properly proxy_http_version 1.1; proxy_set_header Connection ""; }
After you that the 2 missing settings it should work. Let me know.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gabihodoroaga/nginx-ntlm-module/issues/1#issuecomment-849168593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI7WGKP23RWWIGJDPDMDWTTPV2UBANCNFSM45S2NZQA .
-- Diego Aguirre M. Möller Vivo: (21) 9-8871-4916 Claro: (21) 9-7187-7375
Thanks for the feedback. I updated the documentation. I will close this issue now. If you find anything else please create an issue. I will be happy to fix it.
Have tested and not work... only log line is: ntlm auth header found