summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/support/nginx/gitlab3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 764c34dc691..0860d2a8693 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -25,7 +25,8 @@ server {
server_tokens off; # don't show the version number, a security best practice
root /home/git/gitlab/public;
- # Set value of client_max_body_size to at least the value of git.max_size in gitlab.yml
+ # Increase this if you want to upload large attachments
+ # Or if you want to accept large git objects over http
client_max_body_size 5m;
# individual nginx logs for this gitlab vhost