[edit] auth_http_header

syntax: auth_http_header header value

default: no

context: mail, server

With this directive you can add a HTTP header and value during the identification process. This makes it possible to use a shared secret to ensure that the request was answered by nginx.

For example:

auth_http_header X-NGX-Auth-Key "secret_string";

Module: MailAuthModule