commit | 524f54f56dc506ae7fc2ef29794d399e13f69fb2 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Wed Dec 10 14:53:45 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Wed Dec 10 14:53:45 2008 +0000 |
tree | 15264926a94c83f1221ed8c7cbe6cbfc2392c1d4 | |
parent | 45656b4051cd1e9b3e112a819c16a447b10ad03b [diff] [blame] |
use ngx_ext_rename_file() for single file MOVE
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 840007f..ae56c12 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -2288,9 +2288,11 @@ } ext.access = u->conf->store_access; + ext.path_access = u->conf->store_access; ext.time = -1; ext.create_path = 1; ext.delete_file = 1; + ext.log_rename_error = 1; ext.log = r->connection->log; if (u->headers_in.last_modified) {