mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	docs: mention client_max_body_size affects LFS (#18291)
This commit is contained in:
		@@ -128,6 +128,7 @@ This error indicates nginx is configured to restrict the file upload size.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
In your nginx config file containing your Gitea proxy directive, find the `location { ... }` block for Gitea and add the line
 | 
					In your nginx config file containing your Gitea proxy directive, find the `location { ... }` block for Gitea and add the line
 | 
				
			||||||
`client_max_body_size 16M;` to set this limit to 16 megabytes or any other number of choice.
 | 
					`client_max_body_size 16M;` to set this limit to 16 megabytes or any other number of choice.
 | 
				
			||||||
 | 
					If you use Git LFS, this will also limit the size of the largest file you will be able to push.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Apache HTTPD
 | 
					## Apache HTTPD
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user