diff xml/en/docs/http/ngx_http_upstream_module.xml @ 1587:c2a0a18e65ba

Added keepalive info for ntlm.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 26 Oct 2015 22:18:06 +0300
parents 201bf8fa69e5
children 0ba4b2e561bd
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml	Mon Oct 26 15:12:37 2015 +0000
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml	Mon Oct 26 22:18:06 2015 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="43">
+        rev="44">
 
 <section id="summary">
 
@@ -536,6 +536,40 @@
 </para>
 
 <para>
+In order for NTLM authentication to work,
+it is necessary to enable keepalive connections to upstream servers.
+The <link doc="ngx_http_proxy_module.xml" id="proxy_http_version"/>
+directive should be set to “<literal>1.1</literal>”
+and the <header>Connection</header> header field should be cleared:
+<example>
+upstream http_backend {
+    server 127.0.0.1:8080;
+
+    ntlm;
+}
+
+server {
+    ...
+
+    location /http/ {
+        proxy_pass http://http_backend;
+        proxy_http_version 1.1;
+        proxy_set_header Connection "";
+        ...
+    }
+}
+</example>
+</para>
+
+<para>
+<note>
+When using load balancer methods other than the default
+round-robin method, it is necessary to activate them before
+the <literal>ntlm</literal> directive.
+</note>
+</para>
+
+<para>
 <note>
 This directive is available as part of our
 <commercial_version>commercial subscription</commercial_version>.