# HG changeset patch # User Yaroslav Zhuravlev # Date 1634233996 -3600 # Node ID a2852750c3795e202a56c75b46895a9129e01a41 # Parent 91aaf82442e922f2a4fe308da761fa9c8eccd56b Added fetch directives to js http and stream modules. diff --git a/xml/en/docs/http/ngx_http_js_module.xml b/xml/en/docs/http/ngx_http_js_module.xml --- a/xml/en/docs/http/ngx_http_js_module.xml +++ b/xml/en/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="30">
@@ -202,6 +202,84 @@ a module function can be referenced. + +ciphers +HIGH:!aNULL:!MD5 +http +server +location +0.7.0 + + +Specifies the enabled ciphers for HTTPS requests +with Fetch API. +The ciphers are specified in the format understood by the +OpenSSL library. + + + +The full list can be viewed using the +“openssl ciphers” command. + + + + + + + + [TLSv1] + [TLSv1.1] + [TLSv1.2] + [TLSv1.3] +TLSv1 TLSv1.1 TLSv1.2 +http +server +location +0.7.0 + + +Enables the specified protocols for HTTPS requests +with Fetch API. + + + + + + +file + +http +server +location +0.7.0 + + +Specifies a file with trusted CA certificates in the PEM format +used to +verify +the HTTPS certificate +with Fetch API. + + + + + + +number +100 +http +server +location +0.7.0 + + +Sets the verification depth in the HTTPS server certificates chain +with Fetch API. + + + + + function | module.function diff --git a/xml/en/docs/stream/ngx_stream_js_module.xml b/xml/en/docs/stream/ngx_stream_js_module.xml --- a/xml/en/docs/stream/ngx_stream_js_module.xml +++ b/xml/en/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="29">
@@ -145,6 +145,79 @@ a module function can be referenced. + +ciphers +HIGH:!aNULL:!MD5 +stream +server +0.7.0 + + +Specifies the enabled ciphers for HTTPS connections +with Fetch API. +The ciphers are specified in the format understood by the OpenSSL library. + + + +The full list can be viewed using the +“openssl ciphers” command. + + + + + + + + [TLSv1] + [TLSv1.1] + [TLSv1.2] + [TLSv1.3] +TLSv1 TLSv1.1 TLSv1.2 +stream +server +0.7.0 + + +Enables the specified protocols for HTTPS connections +with Fetch API. + + + + + + +file + +stream +server +0.7.0 + + +Specifies a file with trusted CA certificates in the PEM format +used to +verify +the HTTPS certificate +with Fetch API. + + + + + + +number +100 +stream +server +0.7.0 + + +Sets the verification depth in the HTTPS server certificates chain +with Fetch API. + + + + + function | module.function diff --git a/xml/ru/docs/http/ngx_http_js_module.xml b/xml/ru/docs/http/ngx_http_js_module.xml --- a/xml/ru/docs/http/ngx_http_js_module.xml +++ b/xml/ru/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="30">
@@ -202,6 +202,83 @@ function filter(r, data, flags) { + +шифры +HIGH:!aNULL:!MD5 +http +server +location +0.7.0 + + +Описывает разрешённые шифры для HTTPS-запросов +при помощи Fetch API. +Шифры задаются в формате, поддерживаемом библиотекой OpenSSL. + + + +Полный список можно посмотреть с помощью команды +“openssl ciphers”. + + + + + + + + [TLSv1] + [TLSv1.1] + [TLSv1.2] + [TLSv1.3] +TLSv1 TLSv1.1 TLSv1.2 +http +server +location +0.7.0 + + +Разрешает указанные протоколы для HTTPS-запросов +при помощи Fetch API. + + + + + + +файл + +http +server +location +0.7.0 + + +Задаёт файл с доверенными сертификатами CA в формате PEM, +используемыми при +проверке +HTTPS-сертификата +при помощи Fetch API. + + + + + + +число +100 +http +server +location +0.7.0 + + +Устанавливает глубину проверки в цепочке HTTPS-сертификатов +при помощи Fetch API. + + + + + функция | модуль.функция diff --git a/xml/ru/docs/stream/ngx_stream_js_module.xml b/xml/ru/docs/stream/ngx_stream_js_module.xml --- a/xml/ru/docs/stream/ngx_stream_js_module.xml +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="29">
@@ -145,6 +145,83 @@ export default {bar, preread, req_line, + +шифры +HIGH:!aNULL:!MD5 +http +server +location +0.7.0 + + +Описывает разрешённые шифры для HTTPS-соединений +при помощи Fetch API. +Шифры задаются в формате, поддерживаемом библиотекой OpenSSL. + + + +Полный список можно посмотреть с помощью команды +“openssl ciphers”. + + + + + + + + [TLSv1] + [TLSv1.1] + [TLSv1.2] + [TLSv1.3] +TLSv1 TLSv1.1 TLSv1.2 +http +server +location +0.7.0 + + +Разрешает указанные протоколы для HTTPS-соединений +при помощи Fetch API. + + + + + + +файл + +http +server +location +0.7.0 + + +Задаёт файл с доверенными сертификатами CA в формате PEM, +используемыми при +проверке +HTTPS-сертификата +при помощи Fetch API. + + + + + + +число +100 +http +server +location +0.7.0 + + +Устанавливает глубину проверки в цепочке HTTPS-сертификатов +при помощи Fetch API. + + + + + функция | модуль.функция