Mercurial > hg > nginx-site
changeset 149:19c36eed784e
Initial translation of the ngx_http_empty_gif_module documentation.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Oct 2011 17:21:33 +0000 |
parents | 682163f2b298 |
children | 39dd017f016f |
files | xml/en/GNUmakefile xml/en/docs/http/ngx_http_empty_gif_module.xml xml/en/docs/index.xml |
diffstat | 3 files changed, 53 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/GNUmakefile +++ b/xml/en/GNUmakefile @@ -24,6 +24,7 @@ REFS_EN_HTML = $(foreach name, $(REFS_EN REFS_EN = en/docs/ngx_core_module \ en/docs/http/ngx_http_core_module \ + en/docs/http/ngx_http_empty_gif_module \ en/docs/http/ngx_http_mp4_module \ HOWTO_EN_XML = $(foreach name, $(HOWTO_EN), xml/$(name).xml)
new file mode 100644 --- /dev/null +++ b/xml/en/docs/http/ngx_http_empty_gif_module.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> + +<module name="Module ngx_http_empty_gif_module" + link="/en/docs/http/ngx_http_empty_gif_module.html" + lang="en"> + +<section id="summary"> + +<para> +The module <code>ngx_http_empty_gif_module</code> emits +one-pixel transparent GIF. +</para> + +</section> + + +<section name="Example Configuration" id="example"> + +<para> +<example> + location = /_.gif { + empty_gif; + } +</example> +</para> + +</section> + + +<section name="Directives" id="directives"> + +<directive name="empty_gif"> +<syntax/> +<default/> +<context>location</context> + +<para> +Enables emitting of one-pixel transparent GIF. +</para> + +</directive> + +</section> + +</module>
--- a/xml/en/docs/index.xml +++ b/xml/en/docs/index.xml @@ -58,6 +58,11 @@ ngx_http_core_module</a> </item> <item> +<a href="/en/docs/http/ngx_http_empty_gif_module.xml"> +ngx_http_empty_gif_module</a> +</item> + +<item> <a href="/en/docs/http/ngx_http_mp4_module.xml"> ngx_http_mp4_module</a> </item>