Skip to content
Snippets Groups Projects
Commit d8dd6cb3 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Make artifacts size configurable.

parent adee113d
No related branches found
No related tags found
1 merge request!513Build artifacts support
Loading
Loading
@@ -448,6 +448,7 @@ external_url 'GENERATED_EXTERNAL_URL'
# nginx['gzip_types'] = [ "text/plain", "text/css", "application/x-javascript", "text/xml", "application/xml", "application/xml+rss", "text/javascript", "application/json" ]
# nginx['keepalive_timeout'] = 65
# nginx['cache_max_size'] = '5000m'
# nginx['artifacts_client_max_body_size'] = '100M'
 
 
 
Loading
Loading
Loading
Loading
@@ -389,6 +389,7 @@ default['gitlab']['nginx']['custom_gitlab_server_config'] = nil
default['gitlab']['nginx']['custom_nginx_config'] = nil
default['gitlab']['nginx']['proxy_read_timeout'] = 300
default['gitlab']['nginx']['proxy_connect_timeout'] = 300
default['gitlab']['nginx']['artifacts_client_max_body_size'] = '100M'
 
###
# Logging
Loading
Loading
Loading
Loading
@@ -110,7 +110,7 @@ server {
# Upload form should be submitted to this location
location ~ /ci/api/v1/builds/[0-9]+/artifacts {
# Limit the size of uploads
client_max_body_size 100M;
client_max_body_size <%= @artifacts_client_max_body_size %>;
 
# Pass altered request body to this location
upload_pass @gitlab;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment