diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-07-25 10:22:38 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-07-25 10:22:38 +0000 |
commit | d5a25a4b978d77c056fd98a196033b97b4fb5114 (patch) | |
tree | b0a8f5258351701fc067b19f226d958049b6abe4 /src/http/ngx_http_file_cache.c | |
parent | 1850ce09a111002b94c68d02f7906b49710d5083 (diff) | |
download | nginx-d5a25a4b978d77c056fd98a196033b97b4fb5114.tar.gz nginx-d5a25a4b978d77c056fd98a196033b97b4fb5114.zip |
set correct configuration file values while adding path
patch by Maxim Dounin
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index ee287ba68..75e66789d 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1604,6 +1604,8 @@ ngx_http_file_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cache->path->manager = ngx_http_file_cache_manager; cache->path->loader = ngx_http_file_cache_loader; cache->path->data = cache; + cache->path->conf_file = cf->conf_file->file.name.data; + cache->path->line = cf->conf_file->line; if (ngx_add_path(cf, &cache->path) != NGX_OK) { return NGX_CONF_ERROR; |