mirror of
				https://github.com/weiss/ngx_http_upload.git
				synced 2025-10-31 01:21:01 +00:00 
			
		
		
		
	Add recommendation regarding the "root" path
If the specified document "root" path is on the same file system as the "client_body_temp_path", temporary files holding request bodies can be renamed rather than copied.
This commit is contained in:
		
							parent
							
								
									bb69b6a934
								
							
						
					
					
						commit
						0f7e5a4b35
					
				| @ -36,7 +36,10 @@ Nginx setup | ||||
|         # Specify directives such as "listen", "server_name", and TLS-related | ||||
|         # settings for the "server" that handles the uploads. | ||||
| 
 | ||||
|         # Uploaded files will be stored below this directory: | ||||
|         # Uploaded files will be stored below the "root" directory. To minimize | ||||
|         # disk I/O, make sure the specified path is on the same file system as | ||||
|         # the directory used by Nginx to store temporary files holding request | ||||
|         # bodies ("client_body_temp_path", often some directory below /var). | ||||
|         root /var/www/upload; | ||||
| 
 | ||||
|         # Specify this "location" block (if you don't use "/", see below): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user