HTTP directives

ntlm directive (HTTP)

Bind authenticated client traffic to its corresponding upstream connection for connection-oriented authentication. No default directive. Context upstream. Use upstream keepalive and compatible HTTP proxy configuration; place alternative balancing selection first. This is connection affinity, not an authorization policy. Version: 1.9.2. Commercial subscription. Synthetic topology only; no real authentication credentials. No positional arguments. Example: partial http configuration for a disposable synthetic lab; not a complete deployment.

Formal Syntax & Structure

nginx syntaxnginx
ntlm;

Working Example

Example Snippetnginx
upstream lab_ntlm {    server 127.0.0.1:19881;    keepalive 4;    ntlm;}server {    listen 127.0.0.1:19882;    location / {        proxy_pass http://lab_ntlm;        proxy_http_version 1.1;        proxy_set_header Connection "";    }}
Nginx Reference