From 71b415290a91760cf65347f7a1fb9cac8c2f7c52 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 24 Mar 2014 14:13:40 +0100 Subject: [PATCH] Make Nginx client_max_body_size configurable --- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb index 6293dd7..73abe34 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb @@ -27,7 +27,7 @@ server { # 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 <%= @client_max_body_size %>; # individual nginx logs for this gitlab vhost access_log <%= @log_directory %>/gitlab_access.log; -- libgit2 0.21.2