> For the complete documentation index, see [llms.txt](https://docshome.gitbook.io/nginx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docshome.gitbook.io/nginx-docs/he-xin-gong-neng/http/ngx_http_empty_gif_module.md).

# ngx\_http\_empty\_gif\_module

* [示例配置](/nginx-docs/he-xin-gong-neng/http/ngx_http_empty_gif_module.md#example_configuration)
* [指令](/nginx-docs/he-xin-gong-neng/http/ngx_http_empty_gif_module.md#directives)
  * [empty\_gif](/nginx-docs/he-xin-gong-neng/http/ngx_http_empty_gif_module.md#empty_gif)

`ngx_http_empty_gif_module` 模块发送单像素透明 GIF。

## 示例配置 <a href="#example_configuration" id="example_configuration"></a>

```
location = /_.gif {
    empty_gif;
}
```

## 指令 <a href="#directives" id="directives"></a>

### empty\_gif

|       - | 说明              |
| ------: | --------------- |
|  **语法** | **empty\_gif**; |
|  **默认** | ——              |
| **上下文** | location        |

开启针对 `location` 的模块处理。

## 原文档

<http://nginx.org/en/docs/http/ngx_http_empty_gif_module.html>
