Empty GIF#

The module emits a single-pixel transparent GIF.

When building from the source code, the module is built by default; it can be disabled with the build option --without-http_empty_gif_module.

In packages and images from our repositories, the module is included in the build.

Configuration Example#

location = /_.gif {
    empty_gif;
}

Directives#

empty_gif#

Syntax

empty_gif;

Default

Context

location

Enables emitting a single-pixel transparent GIF in the containing location.