# HG changeset patch # User Yaroslav Zhuravlev # Date 1433960159 -10800 # Node ID edd3d22724cb5c12e5532675e87a83f259e7b302 # Parent 47f70f50d5546459a0507f5ff64ae160f07a72f7 Translated the stream proxy module into Russian. diff --git a/xml/ru/GNUmakefile b/xml/ru/GNUmakefile --- a/xml/ru/GNUmakefile +++ b/xml/ru/GNUmakefile @@ -82,6 +82,7 @@ REFS = \ mail/ngx_mail_smtp_module \ mail/ngx_mail_ssl_module \ stream/ngx_stream_access_module \ + stream/ngx_stream_proxy_module \ TOP = \ download \ diff --git a/xml/ru/docs/index.xml b/xml/ru/docs/index.xml --- a/xml/ru/docs/index.xml +++ b/xml/ru/docs/index.xml @@ -486,8 +486,8 @@ ngx_stream_access_module - -ngx_stream_proxy_module [en] + +ngx_stream_proxy_module diff --git a/xml/en/docs/stream/ngx_stream_proxy_module.xml b/xml/ru/docs/stream/ngx_stream_proxy_module.xml copy from xml/en/docs/stream/ngx_stream_proxy_module.xml copy to xml/ru/docs/stream/ngx_stream_proxy_module.xml --- a/xml/en/docs/stream/ngx_stream_proxy_module.xml +++ b/xml/ru/docs/stream/ngx_stream_proxy_module.xml @@ -6,22 +6,22 @@ -
-The ngx_stream_proxy_module module (1.9.0) allows passing -connections to another server over TCP and UNIX-domain sockets. +Модуль ngx_stream_proxy_module (1.9.0) позволяет передавать +соединения другому серверу по TCP и UNIX-сокетам.
-
+
@@ -47,30 +47,30 @@ server {
-
+
-time +время 60s stream server -Defines a timeout for establishing a connection with a proxied server. +Задаёт таймаут для установления соединения с проксированным сервером. -size +размер 16k stream server -Sets the size of the -buffer used for reading data from the client. +Задаёт размер +буфера, используемого для чтения данных от клиента. @@ -83,72 +83,72 @@ buffer used for reading data from the cl server -When a connection to the proxied server cannot be established, determines -whether a client connection will be passed to the next server. +При невозможности установить соединение с проксируемым сервером определяет, +будет ли клиентское соединение передано следующему серверу. -Passing a connection to the next server can be limited by -the number of tries -and by time. +Передача соединения следующему серверу может быть ограничена по +количеству попыток +и по времени. -time +время 0 stream server -Limits the time allowed to pass a connection to the -next server. -The 0 value turns off this limitation. +Ограничивает время, в течение которого возможна передача соединения +следующему серверу. +Значение 0 отключает это ограничение. -number +число 0 stream server -Limits the number of possible tries for passing a connection to the -next server. -The 0 value turns off this limitation. +Ограничивает число допустимых попыток для передачи соединения +следующему серверу. +Значение 0 отключает это ограничение. -address +адрес server -Sets the address of a proxied server. -The address can be specified as a domain name or IP address, -and an obligatory port: +Задаёт адрес проксируемого сервера. +Адрес может быть указан в виде доменного имени или IP-адреса +и обязательного порта: proxy_pass localhost:12345; -or as a UNIX-domain socket path: +или в виде пути UNIX-сокета: proxy_pass unix:/tmp/stream.socket; -If a domain name resolves to several addresses, all of them will be -used in a round-robin fashion. -In addition, an address can be specified as a -server group. +Если доменному имени соответствует несколько адресов, то все они будут +использоваться по очереди (round-robin). +Кроме того, в качестве адреса можно указать +группу серверов. @@ -161,35 +161,35 @@ In addition, an address can be specified server -Enables the SSL/TLS protocol for connections to a proxied server. +Разрешает протоколы SSL/TLS для соединений с проксируемым сервером. -file +файл stream server -Specifies a file with the certificate in the PEM format -used for authentication to a proxied server. +Задаёт файл с сертификатом в формате PEM +для аутентификации на проксируемом сервере. -file +файл stream server -Specifies a file with the secret key in the PEM format -used for authentication to a proxied server. +Задаёт файл с секретным ключом в формате PEM +для аутентификации на проксируемом сервере. @@ -202,65 +202,66 @@ used for authentication to a proxied ser server -Specifies the enabled ciphers for connections to a proxied server. -The ciphers are specified in the format understood by the OpenSSL library. +Описывает разрешённые шифры для соединений с проксируемым сервером. +Шифры задаются в формате, поддерживаемом библиотекой OpenSSL. -The full list can be viewed using the -“openssl ciphers” command. +Полный список можно посмотреть с помощью команды +“openssl ciphers”. -file +файл stream server -Specifies a file with revoked certificates (CRL) -in the PEM format used to verify -the certificate of the proxied server. +Указывает файл с отозванными сертификатами (CRL) +в формате PEM, используемыми при проверке +сертификата проксируемого сервера. -name -host from proxy_pass +имя +хост из proxy_pass stream server -Allows to override the server name used to -verify -the certificate of the proxied server and to be -passed through SNI -when establishing a connection with the proxied server. +Позволяет переопределить имя сервера, используемое при +проверке +сертификата проксируемого сервера, а также для +передачи его через SNI +при установлении соединения с проксируемым сервером. -By default, the host part of the address is used. +По умолчанию используется имя хоста из адреса, заданного +директивой . -file +файл stream server -Specifies a file with passphrases for -secret keys -where each passphrase is specified on a separate line. -Passphrases are tried in turn when loading the key. +Задаёт файл с паролями от +секретных ключей, +где каждый пароль указан на отдельной строке. +Пароли применяются по очереди в момент загрузки ключа. @@ -273,10 +274,10 @@ Passphrases are tried in turn when loadi server -Enables or disables passing of the server name through -TLS -Server Name Indication extension (SNI, RFC 6066) -when establishing a connection with the proxied server. +Разрешает или запрещает передачу имени сервера через +расширение +Server Name Indication протокола TLS (SNI, RFC 6066) +при установлении соединения с проксируемым сервером. @@ -289,11 +290,12 @@ when establishing a connection with the server -Determines whether SSL sessions can be reused when working with -the proxied server. -If the errors -“SSL3_GET_FINISHED:digest check failed” -appear in the logs, try disabling session reuse. +Определяет, использовать ли повторно SSL-сессии при +работе с проксируемым сервером. +Если в логах появляются ошибки +“SSL3_GET_FINISHED:digest check failed”, +то можно попробовать выключить +повторное использование сессий. @@ -311,22 +313,22 @@ appear in the logs, try disabling sessio server -Enables the specified protocols for connections to a proxied server. +Разрешает указанные протоколы для соединений с проксируемым сервером. -file +файл stream server -Specifies a file with trusted CA certificates in the PEM format -used to verify -the certificate of the proxied server. +Задаёт файл с доверенными сертификатами CA в формате PEM, +используемыми при проверке +сертификата проксируемого сервера. @@ -339,47 +341,47 @@ the certificate of the proxied server. server -Enables or disables verification of the proxied server certificate. +Разрешает или запрещает проверку сертификата проксируемого сервера. -number +число 1 stream server -Sets the verification depth in the proxied server certificates chain. +Устанавливает глубину проверки в цепочке сертификатов проксируемого сервера. -timeout +время 10m stream server -Defines a timeout used after the proxying to the backend had started. +Задаёт таймаут, который используется после начала проксирования на бэкенд. -size +размер 16k stream server -Sets the size of the -buffer used for reading data from the upstream server. +Задаёт размер +буфера, используемого для чтения данных от сервера группы.