view xml/cn/docs/http/ngx_http_empty_gif_module.xml @ 1878:127ae107e5a9

Removed clause about shared memory and Windows versions with ASLR. Starting with nginx 1.9.0 shared memory can be used on Windows versions with address space layout randomization.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 26 Dec 2016 19:38:06 +0300
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>