From a38ab71b20754619880d763040e3a24ebe11e4a4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 15 Jan 2022 23:26:01 +0100 Subject: [PATCH] docs: mention client_max_body_size affects LFS (#18291) --- docs/content/doc/usage/reverse-proxies.en-us.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/doc/usage/reverse-proxies.en-us.md b/docs/content/doc/usage/reverse-proxies.en-us.md index c782f1ce5..4567b09d2 100644 --- a/docs/content/doc/usage/reverse-proxies.en-us.md +++ b/docs/content/doc/usage/reverse-proxies.en-us.md @@ -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