Commit 71b415290a91760cf65347f7a1fb9cac8c2f7c52

Authored by Jacob Vosmaer
1 parent 02ea3d10

Make Nginx client_max_body_size configurable

files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
... ... @@ -27,7 +27,7 @@ server {
27 27  
28 28 # Increase this if you want to upload large attachments
29 29 # Or if you want to accept large git objects over http
30   - client_max_body_size 5m;
  30 + client_max_body_size <%= @client_max_body_size %>;
31 31  
32 32 # individual nginx logs for this gitlab vhost
33 33 access_log <%= @log_directory %>/gitlab_access.log;
... ...