Welcome! Log In Create A New Profile

Advanced

[PATCH 3/3] Grand access to use `empty_gif_size' directive using in http, server, location and if in location

Kirill A. Korinskiy
March 17, 2009 08:06PM
From: Kirill A. Korinskiy <catap@catap.ru>

---
src/http/modules/ngx_http_empty_gif_module.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/http/modules/ngx_http_empty_gif_module.c b/src/http/modules/ngx_http_empty_gif_module.c
index 17b46ac0efb06673232e808ca1d0b44d5994a1a2..e1a5749f44369b092913720ab89f565f8deb3130 100644
--- a/src/http/modules/ngx_http_empty_gif_module.c
+++ b/src/http/modules/ngx_http_empty_gif_module.c
@@ -39,7 +39,8 @@ static ngx_command_t ngx_http_empty_gif_commands[] = {
NULL },

{ ngx_string("empty_gif_size"),
- NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1|NGX_CONF_TAKE2,
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
+ |NGX_CONF_TAKE12,
ngx_http_empty_gif_size,
NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_empty_gif_loc_conf_t, fake),
--
1.6.2
Subject Author Posted

[PATCH 3/3] Grand access to use `empty_gif_size' directive using in http, server, location and if in location

Kirill A. Korinskiy March 17, 2009 08:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready