diff --git a/ngx_http_fancyindex_module.c b/ngx_http_fancyindex_module.c index 09eb688..39c598d 100644 --- a/ngx_http_fancyindex_module.c +++ b/ngx_http_fancyindex_module.c @@ -335,8 +335,8 @@ static ngx_command_t ngx_http_fancyindex_commands[] = { { ngx_string("fancyindex_hide_symlinks"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, ngx_conf_set_flag_slot, + NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_fancyindex_loc_conf_t, hide_symlinks), - 0, NULL }, { ngx_string("fancyindex_time_format"),