Mail directives
auth_http (mail-auth-http)
Private HTTP authentication endpoint; response headers determine the outcome.
Formal Syntax & Structure
nginx syntaxnginx
auth_http URL;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| url | HTTP authentication endpoint URL | Private authentication service selects authorized backend using response headers. Protect the hop; never send real credentials to a public or untrusted endpoint. |
Working Example
Example Snippetnginx
auth_http http://127.0.0.1:19380/auth;