empty_gif
模块次要是用于收回单像素通明GIF。
1. 简介
ngx_http_empty_gif_module
模块,用于收回单像素通明GIF。
2.配置示例
location = /_.gif { empty_gif;}
当匹配到/_.gif
的申请时,返回单像素通明gif做为http响应体。
3.配置格局
Syntax: empty_gif;Default: —Context: location
默认不开启,只存在于localtion上下文中。
4.总结
ngx_http_empty_gif_module
没有太多可介绍,咱们次要记住其次要作用,在业务须要时,进行配置即可。