# ngx\_http\_empty\_gif\_module

* [示例配置](#example_configuration)
* [指令](#directives)
  * [empty\_gif](#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>
