HTTP directives

auth_delay directive (HTTP)

Delay HTTP 401 processing as a timing-defense measure. Do not treat this as credential rate limiting. Context: http, server, location. Documented default: 0s. Version: 1.17.10. OSS documentation; check target build. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
auth_delay time;

Parameters & Attributes

NameTypeDescription
timedurationValue for auth delay.

Working Example

Example Snippetnginx
auth_delay 180ms;
Nginx Reference