Mercurial > hg > nginx-site
diff xml/cn/docs/http/ngx_http_empty_gif_module.xml @ 792:ceb8a4e374b7
Updated the Chinese documentation.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Dec 2012 06:34:37 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/cn/docs/http/ngx_http_empty_gif_module.xml Tue Dec 25 06:34:37 2012 +0000 @@ -0,0 +1,54 @@ +<?xml version="1.0"?> + +<!-- + Copyright (C) Igor Sysoev + Copyright (C) Nginx, Inc. + --> + +<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> + +<module name="ngx_http_empty_gif_module 模块" + link="/cn/docs/http/ngx_http_empty_gif_module.html" + lang="cn" + translator="yzprofile" + rev="1"> + + +<section id="summary"> + +<para> +模块 <literal>ngx_http_empty_gif_module</literal> 只返回一个透明像素的GIF图片。 +</para> + +</section> + + +<section id="example" name="配置范例"> + +<para> +<example> +location = /_.gif { + empty_gif; +} +</example> +</para> + +</section> + + +<section id="directives" name="指令"> + +<directive name="empty_gif"> +<syntax/> +<default/> +<context>location</context> + +<para> +在当前location里使用这个模块处理请求。 +</para> + +</directive> + +</section> + +</module>