diff options
author | Andrey Belov <defan@nginx.com> | 2012-02-13 16:32:21 +0000 |
---|---|---|
committer | Andrey Belov <defan@nginx.com> | 2012-02-13 16:32:21 +0000 |
commit | 8ce8f6667f3f14c004148138c0aec3dff79c350b (patch) | |
tree | 5dae7abaf7499a6e4d5bafe1d6e742d78f53989e /src/http/ngx_http_script.c | |
parent | bd1e719bf9c4bc58076e7b52e87be645c9b803f5 (diff) | |
download | nginx-8ce8f6667f3f14c004148138c0aec3dff79c350b.tar.gz nginx-8ce8f6667f3f14c004148138c0aec3dff79c350b.zip |
Support for disable_symlinks in various modules.
Diffstat (limited to 'src/http/ngx_http_script.c')
-rw-r--r-- | src/http/ngx_http_script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index 77ac9a629..a8f193a32 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -1505,6 +1505,9 @@ ngx_http_script_file_code(ngx_http_script_engine_t *e) of.test_only = 1; of.errors = clcf->open_file_cache_errors; of.events = clcf->open_file_cache_events; +#if (NGX_HAVE_OPENAT) + of.disable_symlinks = clcf->disable_symlinks; +#endif if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) != NGX_OK) |