mirror of
https://github.com/nginx/nginx.git
synced 2026-06-04 14:26:06 -04:00
Gzip static: fixed NGX_CONF_FLAG misuse.
This commit is contained in:
parent
ede7f970fa
commit
2c0defac9b
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue