Commit c4f1425e9bb18e47ff5a5b8f69cae55306ef69f0
1 parent
f88e113b
Exists in
master
and in
36 other branches
update client_max_body_size
Signed-off-by: msfernandes <matheus.souza.fernandes@gmail.com>
Showing
6 changed files
with
6 additions
and
18 deletions
Show diff stats
cookbooks/colab/templates/colab.conf.erb
cookbooks/gitlab/templates/nginx.conf.erb
... | ... | @@ -6,9 +6,10 @@ server { |
6 | 6 | listen *:81; |
7 | 7 | |
8 | 8 | server_name <%= node['config']['external_hostname'] %>; |
9 | - underscores_in_headers on; | |
9 | + underscores_in_headers on; | |
10 | 10 | access_log /var/log/nginx/gitlab.access.log; |
11 | 11 | error_log /var/log/nginx/gitlab.error.log; |
12 | + client_max_body_size 20m; | |
12 | 13 | |
13 | 14 | location /gitlab/assets/ { |
14 | 15 | alias /usr/lib/gitlab/public/assets/; | ... | ... |
cookbooks/noosfero/files/noosfero.yml
1 | -development: | |
2 | - #mail_enabled: true | |
3 | - #webmail_url: "http://localhost.localdomain/" | |
4 | - #addthis_enabled: true | |
5 | - #addthis_pub: your-user-name | |
6 | - #addthis_logo: http://localhost:3000/images/logo-200x50.png | |
7 | - #addthis_options: favorites, email, digg, delicious, technorati, slashdot, twitter, more | |
8 | - #gravatar: mm | |
9 | - #googlemaps_initial_zoom: 4 | |
10 | - #exception_recipients: [admin@example.com] | |
11 | - #max_upload_size: 5MB | |
12 | - #hours_until_user_activation_check: 72 | |
13 | - | |
14 | -test: | |
15 | - | |
16 | 1 | production: |
17 | 2 | max_upload_size: 150MB | ... | ... |
cookbooks/noosfero/recipes/default.rb
... | ... | @@ -67,10 +67,9 @@ template '/etc/nginx/conf.d/noosfero.conf' do |
67 | 67 | notifies :restart, 'service[nginx]' |
68 | 68 | end |
69 | 69 | |
70 | -cookbook_file '/user/lib/noosfero/config/noosfero.yml' do | |
70 | +cookbook_file '/usr/lib/noosfero/config/noosfero.yml' do | |
71 | 71 | owner 'root'; group 'root'; mode 0644 |
72 | 72 | source 'noosfero.yml' |
73 | - action :create_if_missing | |
74 | 73 | notifies :restart, 'service[noosfero]' |
75 | 74 | end |
76 | 75 | ############################################### | ... | ... |
cookbooks/noosfero/templates/nginx.conf.erb