Skip to content

Commit

Permalink
docs: mention client_max_body_size affects LFS (#18291)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar authored Jan 15, 2022
1 parent 0ed9b00 commit a38ab71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/doc/usage/reverse-proxies.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
`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
Expand Down

0 comments on commit a38ab71

Please sign in to comment.