Commit c3ae30b6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'upload-limits' into 'master'

Upload Limits

Better documentation for the upload limit. Please have a hard time when they need to change the upload limits, see https://gitlab.com/gitlab-org/gitlab-ce/issues/5
parents 7fc44a27 4fc17cf1
...@@ -202,7 +202,8 @@ production: &base ...@@ -202,7 +202,8 @@ production: &base
# Use the default values unless you really know what you are doing # Use the default values unless you really know what you are doing
git: git:
bin_path: /usr/bin/git bin_path: /usr/bin/git
# Max size of a git object (e.g. a commit), in bytes # The next value is the maximum memory size grit can use
# Given in number of bytes per git object (e.g. a commit)
# This value can be increased if you have very large commits # This value can be increased if you have very large commits
max_size: 5242880 # 5.megabytes max_size: 5242880 # 5.megabytes
# Git timeout to read a commit, in seconds # Git timeout to read a commit, in seconds
......
...@@ -25,7 +25,8 @@ server { ...@@ -25,7 +25,8 @@ server {
server_tokens off; # don't show the version number, a security best practice server_tokens off; # don't show the version number, a security best practice
root /home/git/gitlab/public; 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; client_max_body_size 5m;
# individual nginx logs for this gitlab vhost # individual nginx logs for this gitlab vhost
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment