Mercurial > hg > nginx-site
comparison xml/ru/docs/mail/ngx_mail_auth_http_module.xml @ 2757:96d6d66d36e4
Documented Auth-SSL-Protocol and Auth-SSL-Cipher mail auth headers.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 18 Aug 2021 22:17:52 +0300 |
parents | ff357b676c2e |
children | 7b7dbaa7d777 |
comparison
equal
deleted
inserted
replaced
2756:7898e090ad72 | 2757:96d6d66d36e4 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_mail_auth_http_module" | 10 <module name="Модуль ngx_mail_auth_http_module" |
11 link="/ru/docs/mail/ngx_mail_auth_http_module.html" | 11 link="/ru/docs/mail/ngx_mail_auth_http_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="10"> | 13 rev="11"> |
14 | 14 |
15 <section id="directives" name="Директивы"> | 15 <section id="directives" name="Директивы"> |
16 | 16 |
17 <directive name="auth_http"> | 17 <directive name="auth_http"> |
18 <syntax><value>URL</value></syntax> | 18 <syntax><value>URL</value></syntax> |
217 <header>Auth-SSL-Subject</header>, <header>Auth-SSL-Issuer</header>, | 217 <header>Auth-SSL-Subject</header>, <header>Auth-SSL-Issuer</header>, |
218 <header>Auth-SSL-Serial</header> и <header>Auth-SSL-Fingerprint</header>. | 218 <header>Auth-SSL-Serial</header> и <header>Auth-SSL-Fingerprint</header>. |
219 Если директива <link id="auth_http_pass_client_cert"/> включена, | 219 Если директива <link id="auth_http_pass_client_cert"/> включена, |
220 сам сертификат передаётся в заголовке | 220 сам сертификат передаётся в заголовке |
221 <header>Auth-SSL-Cert</header>. | 221 <header>Auth-SSL-Cert</header>. |
222 Протокол и шифр установленного соединения | |
223 передаются в заголовках <header>Auth-SSL-Protocol</header> | |
224 и <header>Auth-SSL-Cipher</header> (1.21.2). | |
222 Запрос будет выглядеть так: | 225 Запрос будет выглядеть так: |
223 <example> | 226 <example> |
224 GET /auth HTTP/1.0 | 227 GET /auth HTTP/1.0 |
225 Host: localhost | 228 Host: localhost |
226 Auth-Method: plain | 229 Auth-Method: plain |
228 Auth-Pass: password | 231 Auth-Pass: password |
229 Auth-Protocol: imap | 232 Auth-Protocol: imap |
230 Auth-Login-Attempt: 1 | 233 Auth-Login-Attempt: 1 |
231 Client-IP: 192.0.2.42 | 234 Client-IP: 192.0.2.42 |
232 Auth-SSL: on | 235 Auth-SSL: on |
236 Auth-SSL-Protocol: TLSv1.3 | |
237 Auth-SSL-Cipher: TLS_AES_256_GCM_SHA384 | |
233 Auth-SSL-Verify: SUCCESS | 238 Auth-SSL-Verify: SUCCESS |
234 Auth-SSL-Subject: /CN=example.com | 239 Auth-SSL-Subject: /CN=example.com |
235 Auth-SSL-Issuer: /CN=example.com | 240 Auth-SSL-Issuer: /CN=example.com |
236 Auth-SSL-Serial: C07AD56B846B5BFF | 241 Auth-SSL-Serial: C07AD56B846B5BFF |
237 Auth-SSL-Fingerprint: 29d6a80a123d13355ed16b4b04605e29cb55a5ad | 242 Auth-SSL-Fingerprint: 29d6a80a123d13355ed16b4b04605e29cb55a5ad |