# HG changeset patch # User Yaroslav Zhuravlev # Date 1405596070 -14400 # Node ID ebfcd76e23b61bcb8c23f8ae00e4efdd158bff30 # Parent e48d4309e7f20681939f3f692bb3bfcd98d483c4 Mail auth: corrected articles, rephrased some parts. diff -r e48d4309e7f2 -r ebfcd76e23b6 xml/en/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/en/docs/mail/ngx_mail_auth_http_module.xml Thu Jul 17 15:21:10 2014 +0400 +++ b/xml/en/docs/mail/ngx_mail_auth_http_module.xml Thu Jul 17 15:21:10 2014 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -35,7 +35,7 @@ server -Appends the specified header to requests to the authentication server. +Appends the specified header to requests sent to the authentication server. This header can be used as the shared secret to verify that the request comes from nginx. For example: @@ -65,8 +65,8 @@
-The HTTP is used to communicate with the authentication server. -The data in the response body is ignored, and the information is passed only in +The HTTP protocol is used to communicate with the authentication server. +The data in the response body is ignored, the information is passed only in the headers. @@ -115,7 +115,7 @@ -When the APOP or CRAM-MD5 are used, a request-response will look as follows. +When the APOP or CRAM-MD5 are used, request-response will look as follows: GET /auth HTTP/1.0 Host: localhost @@ -139,7 +139,7 @@ -If the
Auth-User
header exists in a response, +If the
Auth-User
header exists in the response, it overrides the username used to authenticate with the backend.
@@ -148,7 +148,7 @@ the
Auth-Error-Code
header — if exists, it is used as a response code in case of an error. Otherwise, the 535 5.7.0 code will be added to -the
Auth-Status
. +the
Auth-Status
header. @@ -168,7 +168,7 @@ If proxying SMTP does not require authentication, -a request will look as follows. +the request will look as follows: GET /auth HTTP/1.0 Host: localhost diff -r e48d4309e7f2 -r ebfcd76e23b6 xml/ru/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Thu Jul 17 15:21:10 2014 +0400 +++ b/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Thu Jul 17 15:21:10 2014 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -35,7 +35,7 @@ server -Добавляет указанный заголовок к запросам на сервер аутентификации. +Добавляет указанный заголовок к запросам, посылаемым на сервер аутентификации. Заголовок можно использовать в качестве shared secret для проверки, что запрос поступил от nginx. Например: @@ -65,7 +65,7 @@
-Для общения с сервером аутентификации используется HTTP. +Для общения с сервером аутентификации используется протокол HTTP. Данные в теле ответа игнорируются, информация передаётся только в заголовках.