Nginx Module Reference manual: Email authentication module (mail Auth)

Source: Internet
Author: User
Keywords Auth nginx mail authentication module
Tags .url authentication check class configuration default default value email

Sample configuration:

Auth_http localhost:9000/cgi-bin/nginxauth.cgi; Auth_http_timeout 5;

Instructions

Auth_http

Syntax: Auth_http URL
Default value: No
Working with fields: Mail, server
Set URL for authentication to Extended http17853.html "> Class Server. Reached protocol check the Pop3_auth directive in the mail core module.

Auth_http_header

Syntax: Auth_http_header Header value
Default value: No
Working with fields: Mail, server
To add an HTTP header and its value to the authentication process, you can use a shared secret phrase to ensure that the request is always answered by Nginx. As:

Auth_http_header X-ngx-auth-key "secret_string";

Auth_http_timeout

Grammar: auth_http_timeout milliseconds;
Default value: 60000
Working with fields: Mail, server
Set the timeout time for the authentication process.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.