summaryrefslogtreecommitdiff
path: root/lib/support/nginx/gitlab
diff options
context:
space:
mode:
authordosire <sytses@gmail.com>2014-01-22 17:51:00 +0100
committerdosire <sytses@gmail.com>2014-01-22 17:51:00 +0100
commit7ad70a56d3258687b5e129b15dbfca4edb199eb4 (patch)
tree70bb543f454d9c72928c4545c3c86825ff8ac27b /lib/support/nginx/gitlab
parent119c782e0b9f691a3eeff1f44c23522aa4f9c552 (diff)
downloadgitlab-ce-7ad70a56d3258687b5e129b15dbfca4edb199eb4.tar.gz
Git over ssh and http are different things.
Diffstat (limited to 'lib/support/nginx/gitlab')
-rw-r--r--lib/support/nginx/gitlab4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 99691fe94a5..ee78d78369f 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -12,8 +12,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
- # Also increase this if you want to upload large attachments
+ # 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