Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
119c782e
Commit
119c782e
authored
Jan 22, 2014
by
dosire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More explanation for upload limits.
parent
dcc6ff5b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
config/gitlab.yml.example
config/gitlab.yml.example
+1
-0
lib/support/nginx/gitlab
lib/support/nginx/gitlab
+1
-0
No files found.
config/gitlab.yml.example
View file @
119c782e
...
@@ -204,6 +204,7 @@ production: &base
...
@@ -204,6 +204,7 @@ production: &base
bin_path: /usr/bin/git
bin_path: /usr/bin/git
# Max size of a git object (e.g. a commit), in bytes
# Max size of a git object (e.g. a commit), in bytes
# This value can be increased if you have very large commits
# 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
max_size: 5242880 # 5.megabytes
# Git timeout to read a commit, in seconds
# Git timeout to read a commit, in seconds
timeout: 10
timeout: 10
...
...
lib/support/nginx/gitlab
View file @
119c782e
...
@@ -13,6 +13,7 @@ server {
...
@@ -13,6 +13,7 @@ server {
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
# 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;
client_max_body_size 5m;
# individual nginx logs for this gitlab vhost
# individual nginx logs for this gitlab vhost
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment