Commit 71b415290a91760cf65347f7a1fb9cac8c2f7c52
1 parent
02ea3d10
Exists in
master
and in
15 other branches
Make Nginx client_max_body_size configurable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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; | ... | ... |