# HG changeset patch # User Vladimir Homutov # Date 1384764490 -14400 # Node ID 9f9a427a73eb572d5820e8048a8486f9529aab65 # Parent 2d8269d8fea8f373075a9e01d3e00a1450c4e2cb Fixed broken links to chinese versions of some modules. The chinese version contains untranslated copies of english documentation for random_index and realip modules. The result is the appearance of 'translation to chinese' link for this modules pointing to non-existing document. This files are removed. Also, broken links are generated for the chinese version of the "flv" module, but the translation exists, although not enabled for publication. Since contents of file looks like a valid translation, it is allowed to be published. diff --git a/xml/cn/GNUmakefile b/xml/cn/GNUmakefile --- a/xml/cn/GNUmakefile +++ b/xml/cn/GNUmakefile @@ -21,6 +21,7 @@ REFS = \ http/ngx_http_browser_module \ http/ngx_http_core_module \ http/ngx_http_empty_gif_module \ + http/ngx_http_flv_module \ http/ngx_http_geo_module \ http/ngx_http_geoip_module \ http/ngx_http_gzip_static_module \ diff --git a/xml/cn/docs/http/ngx_http_flv_module.xml b/xml/cn/docs/http/ngx_http_flv_module.xml --- a/xml/cn/docs/http/ngx_http_flv_module.xml +++ b/xml/cn/docs/http/ngx_http_flv_module.xml @@ -8,7 +8,7 @@ diff --git a/xml/cn/docs/http/ngx_http_random_index_module.xml b/xml/cn/docs/http/ngx_http_random_index_module.xml deleted file mode 100644 --- a/xml/cn/docs/http/ngx_http_random_index_module.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - -
- - -The module ngx_http_random_index_module picks a random -file in a directory as an index file. -It works before the -ngx_http_index_module -module. - - - -This module is not built by default, it should be enabled with the ---with-http_random_index_module -configuration parameter. - - -
- - -
- - - -location / { - random_index on; -} - - - -
- - -
- - -on | off -off -location - - -Enables or disables module processing in a surrounding location. - - - - -
- -
diff --git a/xml/cn/docs/http/ngx_http_realip_module.xml b/xml/cn/docs/http/ngx_http_realip_module.xml deleted file mode 100644 --- a/xml/cn/docs/http/ngx_http_realip_module.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - -
- - -The ngx_http_realip_module module allows -to change the client address to the one sent in the specified header field. - - - -This module is not built by default, it should be enabled with the ---with-http_realip_module -configuration parameter. - - -
- - -
- - - -set_real_ip_from 192.168.1.0/24; -set_real_ip_from 192.168.2.1; -set_real_ip_from 2001:0db8::/32; -real_ip_header X-Forwarded-For; -real_ip_recursive on; - - - -
- - -
- - - - address | - CIDR | - unix: - -http -server -location - - -Defines trusted addresses that are known to send correct -replacement addresses. -If the special value unix: is specified, -all UNIX-domain sockets will be trusted. - -IPv6 addresses are supported starting from versions 1.3.0 and 1.2.1. - - - - - - - - - field | - X-Real-IP | - X-Forwarded-For -X-Real-IP -http -server -location - - -Defines a request header field used to send -the address for a replacement. - - - - - - -on | off -off -http -server -location -1.3.0 -1.2.1 - - -If recursive search is disabled, an original client address that -matches one of the trusted addresses is replaced by the last -address sent in the request header field defined by the - directive. -If recursive search is enabled, an original client address that -matches one of the trusted addresses is replaced by the last -non-trusted address sent in the request header field. - - - - -
- -
diff --git a/xml/cn/docs/index.xml b/xml/cn/docs/index.xml --- a/xml/cn/docs/index.xml +++ b/xml/cn/docs/index.xml @@ -103,6 +103,11 @@ ngx_http_empty_gif_module + +ngx_http_flv_module + + + ngx_http_geo_module