Mercurial > hg > nginx-site
view xml/cn/docs/http/ngx_http_empty_gif_module.xml @ 2994:537b98ec3c83
Development guide: fixed example code.
The code produced compiler errors.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 17 Aug 2023 20:31:29 +0400 |
parents | ceb8a4e374b7 |
children |
line wrap: on
line source
<?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>