Commit 18d71e71b2234739225fefa992f0d911b2bf6cb8
Exists in
master
and in
89 other branches
Merge branch 'update_upload_size' into 'master'
Update upload size See merge request !33
Showing
6 changed files
with
12 additions
and
1 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/recipes/default.rb
... | ... | @@ -103,6 +103,11 @@ template '/etc/nginx/conf.d/noosfero.conf' do |
103 | 103 | notifies :restart, 'service[nginx]' |
104 | 104 | end |
105 | 105 | |
106 | +cookbook_file '/usr/lib/noosfero/config/noosfero.yml' do | |
107 | + owner 'root'; group 'root'; mode 0644 | |
108 | + source 'noosfero.yml' | |
109 | + notifies :restart, 'service[noosfero]' | |
110 | +end | |
106 | 111 | ############################################### |
107 | 112 | # SELinux: permission to access static files noosfero |
108 | 113 | ################################################ | ... | ... |
cookbooks/noosfero/templates/nginx.conf.erb