Mercurial > hg > nginx-site
changeset 625:af3f38e349eb
Removed terminal whitespace and fixed apostrophes used.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 11 Aug 2012 04:55:25 +0000 |
parents | 4b5163be537f |
children | 581b4d935f42 |
files | xml/en/docs/control.xml xml/en/docs/faq/accept_failed.xml xml/en/docs/faq/chunked_encoding_from_backend.xml xml/en/docs/faq/daemon_master_process_off.xml xml/en/docs/faq/license_copyright.xml xml/en/docs/hash.xml xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/http/ngx_http_limit_conn_module.xml xml/en/docs/http/ngx_http_map_module.xml xml/en/docs/http/server_names.xml xml/en/docs/install.xml xml/en/docs/welcome_nginx_facebook.xml xml/en/support.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/install.xml |
diffstat | 17 files changed, 66 insertions(+), 66 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/control.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/control.xml Sat Aug 11 04:55:25 2012 +0000 @@ -78,7 +78,7 @@ </para> <para> -Let's illustrate this by example. +Let’s illustrate this by example. Imagine that nginx is run on FreeBSD 4.x and the command <programlisting> ps ax -o pid,ppid,user,%cpu,vsz,wchan,command | egrep '(nginx|PID)'
--- a/xml/en/docs/faq/accept_failed.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/faq/accept_failed.xml Sat Aug 11 04:55:25 2012 +0000 @@ -28,10 +28,10 @@ <initial>A:</initial> Such errors stem from the connections that the clients managed to close before nginx was able to process them. For instance, this can -happen in a situation when the user didn't wait for a page +happen in a situation when the user didn’t wait for a page heavily populated with images to load fully, and clicked on a -different link. In this case user's browser would close all of -the prior connections which aren't longer necessary. +different link. In this case user’s browser would close all of +the prior connections which aren’t longer necessary. It is a non-critical error. </para>
--- a/xml/en/docs/faq/chunked_encoding_from_backend.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/faq/chunked_encoding_from_backend.xml Sat Aug 11 04:55:25 2012 +0000 @@ -4,7 +4,7 @@ <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> -<article name="Why nginx doesn't handle chunked encoding +<article name="Why nginx doesn’t handle chunked encoding responses from my backend properly?" link="/en/docs/faq/chunked_encoding_from_backend.html" lang="en" @@ -15,8 +15,8 @@ <para> <initial>Q:</initial> My backend server appears to send HTTP/1.0 responses using -chunked encoding but nginx doesn't handle it correctly. -For instance, I'm using nginx as a frontend to my node.js +chunked encoding but nginx doesn’t handle it correctly. +For instance, I’m using nginx as a frontend to my node.js application and instead of pure JSON from backend, nginx returns something framed in decimal numbers like @@ -38,7 +38,7 @@ <link url="http://tools.ietf.org/html/rfc2616#section-3.6">RFC 2616, "3.6 Transfer Codings"</link>). The "chunked" transfer-codings must not be used with HTTP/1.0. -You'd need to either fix your backend application or upgrade +You’d need to either fix your backend application or upgrade to nginx version 1.1.4 and newer, where an additional code was introduced to handle such erratic backend behavior. </para>
--- a/xml/en/docs/faq/daemon_master_process_off.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/faq/daemon_master_process_off.xml Sat Aug 11 04:55:25 2012 +0000 @@ -30,7 +30,7 @@ </para> <para> -While many people use "daemon off" in production it wasn't really meant for +While many people use "daemon off" in production it wasn’t really meant for that. Since version 1.0.9 it is now quite safe to run nginx in production with "daemon off", though. Bear in mind that non-stop upgrade is not an option with "daemon off".
--- a/xml/en/docs/faq/license_copyright.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/faq/license_copyright.xml Sat Aug 11 04:55:25 2012 +0000 @@ -15,7 +15,7 @@ <para> <initial>Q:</initial> -I'd like to use nginx distribution as part of my proprietary +I’d like to use nginx distribution as part of my proprietary software package. How can nginx copyright be acknowledged when using nginx as part of a proprietary software distribution? </para> @@ -38,7 +38,7 @@ <para> Also, if your build of nginx includes any of the following 3rd party -products: zlib, PCRE, OpenSSL — it's worth including their +products: zlib, PCRE, OpenSSL — it’s worth including their copyright acknowledgements and disclaimers as well. </para>
--- a/xml/en/docs/hash.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/hash.xml Sat Aug 11 04:55:25 2012 +0000 @@ -14,7 +14,7 @@ <para> To quickly process static sets of data such as server names, -<link doc="http/ngx_http_map_module.xml" id="map"/> directive's values, +<link doc="http/ngx_http_map_module.xml" id="map"/> directive’s values, MIME types, names of request header strings, nginx uses hash tables. During the start and each re-configuration nginx selects the @@ -32,10 +32,10 @@ <para> The hash bucket size parameter is aligned to the size that is a -multiple of the processor's cache line size. This speeds up +multiple of the processor’s cache line size. This speeds up key search in a hash on modern processors by reducing the number of memory accesses. -If hash bucket size is equal to one processor's cache line size +If hash bucket size is equal to one processor’s cache line size then the number of memory accesses during the key search will be two in the worst case—first to compute the bucket address, and second during the key search inside the bucket.
--- a/xml/en/docs/http/ngx_http_core_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -125,7 +125,7 @@ <link id="directio"/> can only be used for reading blocks that are aligned on 512-byte boundaries (or 4K for XFS). -Reading of unaligned file's end is still made in blocking mode. +Reading of unaligned file’s end is still made in blocking mode. The same holds true for byte range requests, and for FLV requests not from the beginning of a file: reading of unaligned data at the beginning and end of a file will be blocking. @@ -176,7 +176,7 @@ </para> <para> -When location matches the last part of the directive's value: +When location matches the last part of the directive’s value: <example> location /images/ { alias /data/w3/images/; @@ -1167,7 +1167,7 @@ <literal>setfib</literal>=<value>number</value> </tag-name> <tag-desc> -this parameter (0.8.44) sets an associated routing table, FIB +this parameter (0.8.44) sets an associated routing table, FIB (the <c-def>SO_SETFIB</c-def> option) for the listening socket. This currently works only on FreeBSD. </tag-desc> @@ -1397,7 +1397,7 @@ </para> <para> -Let's illustrate the above by example: +Let’s illustrate the above by example: <example> location = / { [ configuration A ] @@ -2135,7 +2135,7 @@ <para> If the parameter equals “<var>$hostname</var>” (0.9.4), the -machine's hostname is substituted. +machine’s hostname is substituted. </para> <para> @@ -2203,7 +2203,7 @@ header field, instead of the default server for the given address:port pair. This is the default setting. <note> -Before 0.8.48, the machine's hostname was used by default. +Before 0.8.48, the machine’s hostname was used by default. </note> </para> @@ -2269,7 +2269,7 @@ <para> Sets the bucket size for the server names hash tables. -Default value depends on the size of the processor's cache line. +Default value depends on the size of the processor’s cache line. For more information, please refer to <link doc="../hash.xml">Setting Up Hashes</link>. </para> @@ -2546,7 +2546,7 @@ <para> Sets the bucket size for the types hash tables. -Default value depends on the size of the processor's cache line. +Default value depends on the size of the processor’s cache line. For more information, please refer to <link doc="../hash.xml">Setting Up Hashes</link>. </para> @@ -2646,7 +2646,7 @@ <tag-name><var>$binary_remote_addr</var></tag-name> <tag-desc> -client address in a binary form, value's length is always 4 bytes +client address in a binary form, value’s length is always 4 bytes </tag-desc> <tag-name><var>$body_bytes_sent</var></tag-name> @@ -2671,7 +2671,7 @@ <tag-name><var>$document_root</var></tag-name> <tag-desc> -<link id="root"/> or <link id="alias"/> directive's value +<link id="root"/> or <link id="alias"/> directive’s value for the current request </tag-desc> @@ -2734,7 +2734,7 @@ <tag-name><var>$realpath_root</var></tag-name> <tag-desc> an absolute pathname corresponding to the -<link id="root"/> or <link id="alias"/> directive's value +<link id="root"/> or <link id="alias"/> directive’s value for the current request, with all symbolic links resolved to real paths </tag-desc> @@ -2763,7 +2763,7 @@ <tag-desc> request body <para> -The variable's value is made available in locations +The variable’s value is made available in locations processed by the <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/> and
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -147,11 +147,11 @@ Here, an IP address of the client serves as a key. Note that instead of <var>$remote_addr</var>, the <var>$binary_remote_addr</var> variable is used here. -The length of the <var>$remote_addr</var> variable's value can +The length of the <var>$remote_addr</var> variable’s value can range from 7 to 15 bytes, and the stored state occupies either 32 or 64 bytes of memory on 32-bit platforms, and always 64 bytes on 64-bit platforms. -The length of the <var>$binary_remote_addr</var> variable's value +The length of the <var>$binary_remote_addr</var> variable’s value is always 4 bytes, and the stored state always occupies 32 bytes on 32-bit platforms, and 64 bytes on 64-bit platforms. One megabyte zone can keep about 32 thousand 32-byte states,
--- a/xml/en/docs/http/ngx_http_map_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/http/ngx_http_map_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -178,7 +178,7 @@ <para> Sets the bucket size for the <link id="map"/> variables hash tables. -Default value depends on the size of the processor's cache line. +Default value depends on the size of the processor’s cache line. For more information, please refer to <link doc="../hash.xml">Setting Up Hashes</link>. </para>
--- a/xml/en/docs/http/server_names.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/http/server_names.xml Sat Aug 11 04:55:25 2012 +0000 @@ -85,7 +85,7 @@ name="Wildcard names"> <para> -A wildcard name may contain an asterisk only on the name's start or end, +A wildcard name may contain an asterisk only on the name’s start or end, and only on a dot border. The names “<literal>www.*.example.org</literal>” and “<literal>w*.example.org</literal>” are invalid. However, these names can be specified using regular expressions,
--- a/xml/en/docs/install.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/install.xml Sat Aug 11 04:55:25 2012 +0000 @@ -183,7 +183,7 @@ The library distribution (version 4.4—8.30) needs to be downloaded from the <link url="http://www.pcre.org">PCRE</link> site and extracted. -The rest is done by nginx's ./configure and make. +The rest is done by nginx’s ./configure and make. The library is required for regular expressions support in the <link doc="http/ngx_http_core_module.xml" id="location"/> directive and for the @@ -207,7 +207,7 @@ The library distribution (version 1.1.3—1.2.5) needs to be downloaded from the <link url="http://www.gzip.org/zlib/">zlib</link> site and extracted. -The rest is done by nginx's ./configure and make. +The rest is done by nginx’s ./configure and make. The library is required for the <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link> module. </para>
--- a/xml/en/docs/welcome_nginx_facebook.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/docs/welcome_nginx_facebook.xml Sat Aug 11 04:55:25 2012 +0000 @@ -43,14 +43,14 @@ “Welcome to nginx!” is just a diagnostics response that can be produced by any of the websites out there, running nginx web server. Currently, nginx is the 2nd most popular open source -web server in the world, it's being used by over 70,000,000 (or +web server in the world, it’s being used by over 70,000,000 (or 10% of the Internet) websites. Most of these websites are -legitimate, but some aren't. Our software was created with a good +legitimate, but some aren’t. Our software was created with a good reason of enabling performance and scalability on the Internet, it is licensed under <link url="http://nginx.org/LICENSE"> popular open source license</link>, and has nothing to do with any kind of threatening or malicious activity per se — -nginx is NOT a malware, and it is NOT on your computer. But someone's +nginx is NOT a malware, and it is NOT on your computer. But someone’s malware could have indeed tampered with your computer or router, redirecting you to a fraudulent Internet server. </para> @@ -65,7 +65,7 @@ (Disclaimer: at nginx we are not responsible for any negative impact or effects that the actions below might cause. Use the following recommendations at your own risk, especially if -you aren't an experienced user of your operating system and/or +you aren’t an experienced user of your operating system and/or Internet applications. In no event shall nginx be liable for any direct, indirect, incidental, special, exemplary, or consequential damages, including, but not limited to loss of @@ -82,7 +82,7 @@ <listitem> Use <link url="http://code.google.com/speed/public-dns/">Google -Public DNS</link>, and see if it fixes the problem. From Google's +Public DNS</link>, and see if it fixes the problem. From Google’s description of its Public DNS — "Google Public DNS is a free, global Domain Name System (DNS) resolution service, that you can use as an alternative to your current DNS @@ -110,11 +110,11 @@ </listitem> <listitem> -Check if the "hosts" file doesn't contain entries other +Check if the "hosts" file doesn’t contain entries other than "127.0.0.1 localhost", and if so — if these entries are for -the web site you're trying to reach. The "hosts" files is located in +the web site you’re trying to reach. The "hosts" files is located in C:\WINDOWS\system32\drivers\etc directory. Typically there should -be just one entry in it, for "127.0.0.1 localhost", that's it. The +be just one entry in it, for "127.0.0.1 localhost", that’s it. The "hosts" file can be viewed and edited with your standard Notepad application. </listitem> @@ -138,7 +138,7 @@ <para> If changing DNS servers to Google Public DNS, flushing DNS resolver cache, fixing your browser configuration, or cleaning "hosts" file -(when applicable) have helped, it might be that there's a malware +(when applicable) have helped, it might be that there’s a malware somewhere on your PC or around. Find and clean it using your preferred anti-virus and anti-malware tools. </para>
--- a/xml/en/support.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/en/support.xml Sat Aug 11 04:55:25 2012 +0000 @@ -123,7 +123,7 @@ <section name="Commercial Support"> <para> -If you're looking for a commercial support option +If you’re looking for a commercial support option please refer to the <link url="http://nginx.com/support.html"> support page on our nginx.com web site</link>.
--- a/xml/ru/docs/http/ngx_http_core_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -141,7 +141,7 @@ <context>location</context> <para> -Задаёт замену для указанного location'а. +Задаёт замену для указанного location’а. Например, при такой конфигурации <example> location /i/ { @@ -159,7 +159,7 @@ </para> <para> -Если <literal>alias</literal> используется внутри location'а, заданного +Если <literal>alias</literal> используется внутри location’а, заданного регулярным выражением, то регулярное выражение должно содержать выделения, а сам <literal>alias</literal> — ссылки на эти выделения (0.7.40), например: @@ -1330,18 +1330,18 @@ (для поиска совпадения без учёта регистра символов), либо с префиксом “<literal>~</literal>” (с учётом регистра). Чтобы найти location, соответствующий запросу, вначале проверяются -location'ы, заданные префиксными строками (префиксные location'ы). +location’ы, заданные префиксными строками (префиксные location’ы). Среди них ищется максимальное совпадение. Затем проверяются регулярные выражения, в порядке их следования в конфигурационном файле. Проверка регулярных выражений прекращается после первого же совпадения, и используется соответствующая конфигурация. Если совпадение с регулярным выражением не найдено, то используется -конфигурация максимально совпавшего префиксного location'а. +конфигурация максимально совпавшего префиксного location’а. </para> <para> -location'ы могут быть вложенными, с некоторыми исключениями, +location’ы могут быть вложенными, с некоторыми исключениями, о которых говорится ниже. </para> @@ -1349,7 +1349,7 @@ Для операционных систем, нечувствительных к регистру символов, таких как Mac OS X и Cygwin, сравнение с префиксными строками производится без учёта регистра (0.7.7). -Однако, сравнение ограничено только однобайтными locale'ями. +Однако, сравнение ограничено только однобайтными locale’ями. </para> <para> @@ -1358,7 +1358,7 @@ </para> <para> -Если у максимального совпавшего префиксного location'а указан префикс +Если у максимального совпавшего префиксного location’а указан префикс “<literal>^~</literal>”, то регулярные выражения не проверяются. </para> @@ -1369,13 +1369,13 @@ Например, если запрос “<literal>/</literal>” случается часто, то указав “<literal>location = /</literal>”, можно ускорить обработку этих запросов, так как поиск прекратится после первого же сравнения. -Очевидно, что такой location не может иметь вложенные location'ы. +Очевидно, что такой location не может иметь вложенные location’ы. </para> <para> <note> В версиях с 0.7.1 по 0.8.41, если запрос точно совпал с префиксным -location'ом без префиксов “<literal>=</literal>” и “<literal>^~</literal>”, +location’ом без префиксов “<literal>=</literal>” и “<literal>^~</literal>”, то поиск тоже сразу же прекращается и регулярные выражения также не проверяются. </note> @@ -1410,8 +1410,8 @@ Префикс “<literal>@</literal>” задаёт именованный location. Такой location не используется при обычной обработке запросов, а предназначен только для перенаправления в него запросов. -Такие location'ы не могут быть вложенными и не могут содержать -вложенные location'ы. +Такие location’ы не могут быть вложенными и не могут содержать +вложенные location’ы. </para> <!-- @@ -1538,7 +1538,7 @@ <context>location</context> <para> -Разрешает или запрещает выдавать для MSIE клиентов refresh'ы вместо +Разрешает или запрещает выдавать для MSIE клиентов refresh’ы вместо перенаправлений. </para> @@ -1739,7 +1739,7 @@ <context>location</context> <para> -Разрешает или запрещает указывать порт в перенаправлениях, выдаваемых nginx'ом. +Разрешает или запрещает указывать порт в перенаправлениях, выдаваемых nginx’ом. </para> <para> @@ -2234,7 +2234,7 @@ <context>location</context> <para> -Разрешает или запрещает использовать в перенаправлениях, выдаваемых nginx'ом, +Разрешает или запрещает использовать в перенаправлениях, выдаваемых nginx’ом, основное имя сервера, задаваемое директивой <link id="server_name"/>. Если запрещено, то используется имя, указанное в поле <header>Host</header> @@ -2286,7 +2286,7 @@ <context>location</context> <para> -Разрешает или запрещает выдавать версию nginx'а в сообщениях об ошибках и +Разрешает или запрещает выдавать версию nginx’а в сообщениях об ошибках и в поле <header>Server</header> заголовка ответа. </para> @@ -2348,7 +2348,7 @@ <para> Проверяет существование файлов в заданном порядке и использует для обработки запроса первый найденный файл, причём обработка -делается в контексте этого же location'а. +делается в контексте этого же location’а. Путь к файлу строится из параметра <value>файл</value> в соответствии с директивами <link id="root"/> и <link id="alias"/>. @@ -2507,7 +2507,7 @@ </para> <para> -Для того, чтобы для определённого location'а для всех ответов +Для того, чтобы для определённого location’а для всех ответов выдавался MIME-тип “<literal>application/octet-stream</literal>”, можно использовать следующее: <example> @@ -2748,7 +2748,7 @@ <tag-desc> тело запроса <para> -Значение переменной появляется в location'ах, обрабатываемых +Значение переменной появляется в location’ах, обрабатываемых директивами <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/> и
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -514,7 +514,7 @@ <para> Определяет, передавать ли клиенту ответы FastCGI-сервера с кодом -больше либо равным 400, или же перенаправлять их на обработку nginx'у с помощью +больше либо равным 400, или же перенаправлять их на обработку nginx’у с помощью директивы <link doc="ngx_http_core_module.xml" id="error_page"/>. </para>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Sat Aug 11 04:55:25 2012 +0000 @@ -688,7 +688,7 @@ <para> Определяет, передавать ли клиенту проксированные ответы с кодом -больше либо равным 400, или же перенаправлять их на обработку nginx'у с помощью +больше либо равным 400, или же перенаправлять их на обработку nginx’у с помощью директивы <link doc="ngx_http_core_module.xml" id="error_page"/>. </para> @@ -847,7 +847,7 @@ <example> location /name/ { proxy_pass http://127.0.0.1/remote/; -} +} </example> </listitem> @@ -918,7 +918,7 @@ В этом случае имя сервера ищется среди описанных <link doc="ngx_http_upstream_module.xml">групп серверов</link> и если не найдено, то определяется с помощью -<link doc="ngx_http_core_module.xml" id="resolver"/>'а. +<link doc="ngx_http_core_module.xml" id="resolver"/>’а. </para> </directive>
--- a/xml/ru/docs/install.xml Fri Aug 10 11:50:59 2012 +0000 +++ b/xml/ru/docs/install.xml Sat Aug 11 04:55:25 2012 +0000 @@ -178,7 +178,7 @@ Дистрибутив библиотеки (версию 4.4—8.30) нужно взять на сайте <link url="http://www.pcre.org">PCRE</link> и распаковать. -Всё остальное сделают ./configure nginx'а и make. +Всё остальное сделают ./configure nginx’а и make. Библиотека нужна для использования регулярных выражений в директиве <link doc="http/ngx_http_core_module.xml" id="location"/> и для модуля @@ -200,7 +200,7 @@ путь к исходным текстам библиотеки zlib. Дистрибутив библиотеки (версию 1.1.3—1.2.5) нужно взять на сайте <link url="http://www.gzip.org/zlib/">zlib</link> и распаковать. -Всё остальное сделают ./configure nginx'а и make. +Всё остальное сделают ./configure nginx’а и make. Библиотека нужна для модуля <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link>. </para>