diff --git a/.env.example b/.env.example index 203f2946..eedf4c99 100644 --- a/.env.example +++ b/.env.example @@ -43,6 +43,7 @@ CKAN_SMTP_STARTTLS=True CKAN_SMTP_USER=user CKAN_SMTP_PASSWORD=pass CKAN_SMTP_MAIL_FROM=ckan@localhost +CKAN_MAX_UPLOAD_SIZE_MB=100 TZ=UTC # Solr diff --git a/nginx/setup/nginx.conf b/nginx/setup/nginx.conf index ddc819c3..d1f9c525 100644 --- a/nginx/setup/nginx.conf +++ b/nginx/setup/nginx.conf @@ -38,10 +38,12 @@ http { # Enable gzip encryption gzip on; - + proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=cache:30m max_size=250m; proxy_temp_path /tmp/nginx_proxy 1 2; + client_max_body_size 140M; + include /etc/nginx/conf.d/*.conf; # Error status text