diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2014-03-03 17:17:25 +0400 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2014-03-03 17:17:25 +0400 |
| commit | 2c0defac9b301293babf2520c0575d4a70aeee71 (patch) | |
| tree | 056a98b4c5c7cd397d75bcb36736f7b73ee04354 | |
| parent | ede7f970fa05d1f914f114f40e0f6da1f306ea0b (diff) | |
| download | nginx-2c0defac9b301293babf2520c0575d4a70aeee71.tar.gz nginx-2c0defac9b301293babf2520c0575d4a70aeee71.tar.bz2 | |
Gzip static: fixed NGX_CONF_FLAG misuse.
| -rw-r--r-- | src/http/modules/ngx_http_gzip_static_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c index 6e777619b..1746e5504 100644 --- a/src/http/modules/ngx_http_gzip_static_module.c +++ b/src/http/modules/ngx_http_gzip_static_module.c @@ -38,7 +38,7 @@ static ngx_conf_enum_t ngx_http_gzip_static[] = { static ngx_command_t ngx_http_gzip_static_commands[] = { { ngx_string("gzip_static"), - NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, ngx_conf_set_enum_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_gzip_static_conf_t, enable), |
