# HG changeset patch # User Ruslan Ermilov # Date 1327660752 0 # Node ID bb51d3e17dd0b8b902a8e582d43d5ab7cc07e589 # Parent c7fccbe0382793b555062f247df4cbcb9a44fd5b Style fixed. diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_autoindex_module.xml --- a/xml/en/docs/http/ngx_http_autoindex_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_autoindex_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -12,8 +12,9 @@ The ngx_http_autoindex_module module produces a directory listing. Usually a request is passed to the ngx_http_autoindex_module -module when the ngx_http_index_module -module could not find an index file. +module when the +ngx_http_index_module module +could not find an index file. @@ -60,7 +61,6 @@ output exactly, or rounded to kilobytes, megabytes, and gigabytes. - diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -10,9 +10,9 @@ - on | - off | - sendfile + on | + off | + sendfile off http server @@ -91,9 +91,11 @@ the SF_NODISKIO flag which causes it not to block on disk I/O and instead report back when the data are not in memory; nginx then initiates an asynchronous data load by reading -one byte. The FreeBSD kernel then loads the first 128K bytes +one byte. +The FreeBSD kernel then loads the first 128K bytes of a file into memory, however next reads will only load data -in 16K chunks. This can be tuned using the +in 16K chunks. +This can be tuned using the directive. @@ -226,9 +228,9 @@ - on | - clean | - off + on | + clean | + off off http server @@ -278,10 +280,10 @@ - path - [level1 - [level2 - [level3]]] + path + [level1 + [level2 + [level3]]] client_body_temp http server @@ -464,9 +466,9 @@ - code ... - [=[response]] - uri + code ... + [=[response]] + uri http server @@ -527,9 +529,9 @@ - off | - exact | - before + off | + exact | + before exact http server @@ -673,8 +675,8 @@ - timeout - [header_timeout] + timeout + [header_timeout] 75s http server @@ -839,9 +841,9 @@ - off | - on | - always + off | + on | + always on http server @@ -913,42 +915,42 @@ - address[:port] - [default_server] - [setfib=number] - [backlog=number] - [rcvbuf=size] - [sndbuf=size] - [accept_filter=filter] - [deferred] - [bind] - [ipv6only=on|off] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + address[:port] + [default_server] + [setfib=number] + [backlog=number] + [rcvbuf=size] + [sndbuf=size] + [accept_filter=filter] + [deferred] + [bind] + [ipv6only=on|off] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] - port - [default_server] - [setfib=number] - [backlog=number] - [rcvbuf=size] - [sndbuf=size] - [accept_filter=filter] - [deferred] - [bind] - [ipv6only=on|off] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + port + [default_server] + [setfib=number] + [backlog=number] + [rcvbuf=size] + [sndbuf=size] + [accept_filter=filter] + [deferred] + [bind] + [ipv6only=on|off] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] - unix:path - [default_server] - [backlog=number] - [rcvbuf=size] - [sndbuf=size] - [accept_filter=filter] - [deferred] - [bind] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + unix:path + [default_server] + [backlog=number] + [rcvbuf=size] + [sndbuf=size] + [accept_filter=filter] + [deferred] + [bind] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] *:80 | *:8000 server @@ -971,7 +973,8 @@ listen [::]:8000; listen [fe80::1]; -UNIX-domain sockets (0.8.21) are specified with the “unix:” prefix: +UNIX-domain sockets (0.8.21) are specified with the “unix:” +prefix: listen unix:/var/run/nginx.sock; @@ -1157,11 +1160,11 @@ [ - = | - ~ | - ~* | - ^~ - ] uri + = | + ~ | + ~* | + ^~ + ] uri @name server @@ -1668,8 +1671,7 @@ - - on | off +on | off off http server @@ -2174,12 +2176,8 @@ - - file ... - uri - - file ... - =code +file ... uri +file ... =code server location @@ -2440,6 +2438,7 @@ +
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -183,11 +183,11 @@ - path - [levels=levels] - keys_zone=name:size - [inactive=time] - [max_size=size] + path + [levels=levels] + keys_zone=name:size + [inactive=time] + [max_size=size] http @@ -239,15 +239,15 @@ - error | - timeout | - invalid_header | - updating | - http_500 | - http_503 | - http_404 | - off - ... + error | + timeout | + invalid_header | + updating | + http_500 | + http_503 | + http_404 | + off + ... off http server @@ -429,7 +429,7 @@ sending the response. When set to the value on, nginx will instruct a FastCGI server to keep connections open. -This in particular is necessary for +This in particular is necessary for connections to FastCGI servers to function. @@ -439,14 +439,14 @@ - error | - timeout | - invalid_header | - http_500 | - http_503 | - http_404 | - off - ... + error | + timeout | + invalid_header | + http_500 | + http_503 | + http_404 | + off + ... error timeout http server @@ -821,8 +821,8 @@
-The ngx_http_fastcgi_module module supports embedded variables -that can be used to set parameters using the +The ngx_http_fastcgi_module module supports embedded +variables that can be used to set parameters using the directive: diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_gzip_module.xml --- a/xml/en/docs/http/ngx_http_gzip_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_gzip_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -145,16 +145,16 @@ - off | - expired | - no-cache | - no-store | - private | - no_last_modified | - no_etag | - auth | - any - ... + off | + expired | + no-cache | + no-store | + private | + no_last_modified | + no_etag | + auth | + any + ... off http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_headers_module.xml --- a/xml/en/docs/http/ngx_http_headers_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_headers_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -16,6 +16,7 @@
+
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_image_filter_module.xml --- a/xml/en/docs/http/ngx_http_image_filter_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_image_filter_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -51,19 +51,21 @@
- off - test - size - rotate - 90 | 180 | 270 - - resize - width - height - - crop - width - height +off +test +size + + rotate + 90 | 180 | + 270 + + resize + width + height + + crop + width + height location diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_limit_conn_module.xml --- a/xml/en/docs/http/ngx_http_limit_conn_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -154,6 +154,7 @@ + name diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_log_module.xml --- a/xml/en/docs/http/ngx_http_log_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_log_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -35,9 +35,9 @@ - path - [format - [buffer=size]] + path + [format + [buffer=size]] off log/access.log combined http @@ -49,8 +49,8 @@ Sets the path, format, and buffer size for the buffered log writes. Several logs can be specified on the same level. -The special value off cancels all access_log -directives on the current level. +The special value off cancels all +access_log directives on the current level. If format is not specified then the predefined format “combined” is used. @@ -200,6 +200,7 @@ + diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_memcached_module.xml --- a/xml/en/docs/http/ngx_http_memcached_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_memcached_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -75,12 +75,12 @@ - error | - timeout | - invalid_response | - not_found | - off - ... + error | + timeout | + invalid_response | + not_found | + off + ... error timeout http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -211,11 +211,11 @@ - path - [levels=levels] - keys_zone=name:size - [inactive=time] - [max_size=size] + path + [levels=levels] + keys_zone=name:size + [inactive=time] + [max_size=size] http @@ -267,17 +267,17 @@ - error | - timeout | - invalid_header | - updating | - http_500 | - http_502 | - http_503 | - http_504 | - http_404 | - off - ... + error | + timeout | + invalid_header | + updating | + http_500 | + http_502 | + http_503 | + http_504 | + http_404 | + off + ... off http server @@ -444,16 +444,16 @@ - error | - timeout | - invalid_header | - http_500 | - http_502 | - http_503 | - http_504 | - http_404 | - off - ... + error | + timeout | + invalid_header | + http_500 | + http_502 | + http_503 | + http_504 | + http_404 | + off + ... error timeout http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_realip_module.xml --- a/xml/en/docs/http/ngx_http_realip_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_realip_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -54,9 +54,9 @@ - field | - X-Real-IP | - X-Forwarded-For + field | + X-Real-IP | + X-Forwarded-For X-Real-IP http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_referer_module.xml --- a/xml/en/docs/http/ngx_http_referer_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_referer_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -44,11 +44,11 @@ - none | - blocked | - server_names | - string - ... + none | + blocked | + server_names | + string + ... server location diff -r c7fccbe03827 -r bb51d3e17dd0 xml/en/docs/http/ngx_http_split_clients_module.xml --- a/xml/en/docs/http/ngx_http_split_clients_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/en/docs/http/ngx_http_split_clients_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -32,6 +32,7 @@ index index${variant}.html; +
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_access_module.xml --- a/xml/ru/docs/http/ngx_http_access_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_access_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -6,7 +6,6 @@ link="/ru/docs/http/ngx_http_access_module.html" lang="ru"> -
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_autoindex_module.xml --- a/xml/ru/docs/http/ngx_http_autoindex_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_autoindex_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -60,7 +60,6 @@ каталога — точно, или округляя до килобайт, мегабайт и гигабайт. - diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -10,9 +10,9 @@ - on | - off | - sendfile + on | + off | + sendfile off http server @@ -223,9 +223,9 @@ - on | - clean | - off + on | + clean | + off off http server @@ -273,10 +273,10 @@ - путь - [уровень1 - [уровень2 - [уровень3]]] + путь + [уровень1 + [уровень2 + [уровень3]]] client_body_temp http server @@ -455,9 +455,9 @@ - код ... - [=[ответ]] - uri + код ... + [=[ответ]] + uri http server @@ -516,9 +516,9 @@ - off | - exact | - before + off | + exact | + before exact http server @@ -661,8 +661,8 @@ - таймаут - [заголовок_таймаута] + таймаут + [заголовок_таймаута] 75s http server @@ -824,9 +824,9 @@ - off | - on | - always + off | + on | + always on http server @@ -900,42 +900,42 @@ - адрес[:порт] - [default_server] - [setfib=число] - [backlog=число] - [rcvbuf=размер] - [sndbuf=размер] - [accept_filter=фильтр] - [deferred] - [bind] - [ipv6only=on|off] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + адрес[:порт] + [default_server] + [setfib=число] + [backlog=число] + [rcvbuf=размер] + [sndbuf=размер] + [accept_filter=фильтр] + [deferred] + [bind] + [ipv6only=on|off] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] - порт - [default_server] - [setfib=число] - [backlog=число] - [rcvbuf=размер] - [sndbuf=размер] - [accept_filter=фильтр] - [deferred] - [bind] - [ipv6only=on|off] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + порт + [default_server] + [setfib=число] + [backlog=число] + [rcvbuf=размер] + [sndbuf=размер] + [accept_filter=фильтр] + [deferred] + [bind] + [ipv6only=on|off] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] - unix:путь - [default_server] - [backlog=число] - [rcvbuf=размер] - [sndbuf=размер] - [accept_filter=фильтр] - [deferred] - [bind] - [ssl] - [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] + unix:путь + [default_server] + [backlog=число] + [rcvbuf=размер] + [sndbuf=размер] + [accept_filter=фильтр] + [deferred] + [bind] + [ssl] + [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] *:80 | *:8000 server @@ -1145,11 +1145,11 @@ [ - = | - ~ | - ~* | - ^~ - ] uri + = | + ~ | + ~* | + ^~ + ] uri @имя server @@ -1318,7 +1318,8 @@ Необходимо иметь в виду, что это преобразование необходимо для корректной проверки префиксных строк и регулярных выражений. -Если его не делать, то запрос “//scripts/one.php” не попадёт в +Если его не делать, то запрос “//scripts/one.php” +не попадёт в location /scripts/ { ... @@ -1656,8 +1657,7 @@ - - on | off +on | off off http server @@ -2163,12 +2163,8 @@ - - файл ... - uri - - файл ... - =код +файл ... uri +файл ... =код server location @@ -2428,11 +2424,12 @@
+
-Модуль ngx_http_core_module поддерживает встроенные переменные, -имена которых совпадают с именами переменных веб-сервера Apache. +Модуль ngx_http_core_module поддерживает встроенные +переменные, имена которых совпадают с именами переменных веб-сервера Apache. Прежде всего, это переменные, представляющие из себя поля заголовка запроса клиента, такие как $http_user_agent, $http_cookie и тому подобное. diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -181,11 +181,11 @@ - путь - [levels=уровни] - keys_zone=имя:размер - [inactive=время] - [max_size=размер] + путь + [levels=уровни] + keys_zone=имя:размер + [inactive=время] + [max_size=размер] http @@ -207,7 +207,8 @@ Кэшируемый ответ сначала записывается во временный файл, а потом этот файл -переименовывается. Начиная с версии 0.8.9, временные файлы и кэш +переименовывается. +Начиная с версии 0.8.9, временные файлы и кэш могут располагаться на разных файловых системах, но нужно учитывать, что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. @@ -236,15 +237,15 @@ - error | - timeout | - invalid_header | - updating | - http_500 | - http_503 | - http_404 | - off - ... + error | + timeout | + invalid_header | + updating | + http_500 | + http_503 | + http_404 | + off + ... off http server @@ -412,6 +413,7 @@ + on | off off @@ -434,14 +436,14 @@ - error | - timeout | - invalid_header | - http_500 | - http_503 | - http_404 | - off - ... + error | + timeout | + invalid_header | + http_500 | + http_503 | + http_404 | + off + ... error timeout http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_gzip_module.xml --- a/xml/ru/docs/http/ngx_http_gzip_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -145,16 +145,16 @@ - off | - expired | - no-cache | - no-store | - private | - no_last_modified | - no_etag | - auth | - any - ... + off | + expired | + no-cache | + no-store | + private | + no_last_modified | + no_etag | + auth | + any + ... off http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_headers_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -16,6 +16,7 @@
+
@@ -108,7 +109,7 @@ Параметр max задаёт время -“Thu, 31 Dec 2037 23:55:55 GMT” +“Thu, 31 Dec 2037 23:55:55 GMT” (31 декабря 2037 23:55:55 GMT) для поля
Expires
и 10 лет для поля
Cache-Control
.
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_image_filter_module.xml --- a/xml/ru/docs/http/ngx_http_image_filter_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_image_filter_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -28,7 +28,7 @@
-
+
@@ -48,22 +48,24 @@
-
+
- off - test - size - rotate - 90 | 180 | 270 - - resize - ширина - высота - - crop - ширина - высота +off +test +size + + rotate + 90 | 180 | + 270 + + resize + ширина + высота + + crop + ширина + высота location @@ -169,7 +171,8 @@ location -Задаёт желаемое качество преобразованного изображения в формате JPEG. +Задаёт желаемое качество преобразованного изображения +в формате JPEG. Допустимые значения находятся в диапазоне 1..100. Меньшим значениям обычно соответствует худшее качество изображения и меньший объём передаваемых данных. diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -17,7 +17,8 @@
-
+ +
@@ -39,7 +40,7 @@
-
+
diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_log_module.xml --- a/xml/ru/docs/http/ngx_http_log_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_log_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -35,9 +35,9 @@ - путь - [формат - [buffer=размер]] + путь + [формат + [buffer=размер]] off log/access.log combined http @@ -195,6 +195,7 @@ + diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_memcached_module.xml --- a/xml/ru/docs/http/ngx_http_memcached_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -75,12 +75,12 @@ - error | - timeout | - invalid_response | - not_found | - off - ... + error | + timeout | + invalid_response | + not_found | + off + ... error timeout http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -209,11 +209,11 @@ - путь - [levels=уровни] - keys_zone=имя:размер - [inactive=время] - [max_size=размер] + путь + [levels=уровни] + keys_zone=имя:размер + [inactive=время] + [max_size=размер] http @@ -235,7 +235,8 @@ Кэшируемый ответ сначала записывается во временный файл, а потом этот файл -переименовывается. Начиная с версии 0.8.9, временные файлы и кэш +переименовывается. +Начиная с версии 0.8.9, временные файлы и кэш могут располагаться на разных файловых системах, но нужно учитывать, что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. @@ -264,17 +265,17 @@ - error | - timeout | - invalid_header | - updating | - http_500 | - http_502 | - http_503 | - http_504 | - http_404 | - off - ... + error | + timeout | + invalid_header | + updating | + http_500 | + http_502 | + http_503 | + http_504 | + http_404 | + off + ... off http server @@ -283,7 +284,8 @@ Определяет, в каких случаях можно использовать устаревший закэшированный ответ, если при работе с проксированным -сервером возникла ошибка. Параметры директивы совпадают с параметрами +сервером возникла ошибка. +Параметры директивы совпадают с параметрами директивы . Кроме того, дополнительный параметр updating разрешает использовать устаревший закэшированный ответ, @@ -439,16 +441,16 @@ - error | - timeout | - invalid_header | - http_500 | - http_502 | - http_503 | - http_504 | - http_404 | - off - ... + error | + timeout | + invalid_header | + http_500 | + http_502 | + http_503 | + http_504 | + http_404 | + off + ... error timeout http server @@ -825,8 +827,9 @@ Однако, если это поле отсутствует в заголовке запроса клиента, то ничего -передаваться не будет. В этом случае лучше воспользоваться переменной -$host—её значение равно имени сервера в поле
Host
+передаваться не будет. +В этом случае лучше воспользоваться переменной $host—её +значение равно имени сервера в поле
Host
заголовка запроса, или же основному имени сервера, если поля нет: proxy_set_header Host $host; @@ -860,7 +863,8 @@ Определяет, использовать ли повторно SSL-сессии при -работе с проксированным сервером. Если в логах появляются ошибки +работе с проксированным сервером. +Если в логах появляются ошибки “SSL3_GET_FINISHED:digest check failed”, то можно попробовать выключить повторное использование сессий. diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_realip_module.xml --- a/xml/ru/docs/http/ngx_http_realip_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_realip_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -54,9 +54,9 @@ - поле | - X-Real-IP | - X-Forwarded-For + поле | + X-Real-IP | + X-Forwarded-For X-Real-IP http server diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_referer_module.xml --- a/xml/ru/docs/http/ngx_http_referer_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_referer_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -45,11 +45,11 @@ - none | - blocked | - server_names | - строка - ... + none | + blocked | + server_names | + строка + ... server location diff -r c7fccbe03827 -r bb51d3e17dd0 xml/ru/docs/http/ngx_http_split_clients_module.xml --- a/xml/ru/docs/http/ngx_http_split_clients_module.xml Thu Jan 26 22:12:55 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_split_clients_module.xml Fri Jan 27 10:39:12 2012 +0000 @@ -32,6 +32,7 @@ index index${variant}.html;
+