OSDN Git Service

More explanation for upload limits.
authordosire <sytses@gmail.com>
Wed, 22 Jan 2014 16:01:47 +0000 (17:01 +0100)
committerdosire <sytses@gmail.com>
Wed, 22 Jan 2014 16:01:47 +0000 (17:01 +0100)
config/gitlab.yml.example
lib/support/nginx/gitlab

index c63e8cb..c476993 100644 (file)
@@ -204,6 +204,7 @@ production: &base
     bin_path: /usr/bin/git
     # Max size of a git object (e.g. a commit), in bytes
     # This value can be increased if you have very large commits
+    # Please also change the limit for your webserver (for Nginx see lib/support/nginx/gitlab)
     max_size: 5242880 # 5.megabytes
     # Git timeout to read a commit, in seconds
     timeout: 10
index d1d959e..99691fe 100644 (file)
@@ -13,6 +13,7 @@ server {
   root /home/git/gitlab/public;
   
   # Set value of client_max_body_size to at least the value of git.max_size in gitlab.yml
+  # Also increase this if you want to upload large attachments
   client_max_body_size 5m;
 
   # individual nginx logs for this gitlab vhost