From 6a6afb13158f323eeeae07a9e85eafbb540bef49 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Tue, 8 Oct 2024 17:16:14 -0400 Subject: [PATCH] default config for 100MB uploads --- .env.example | 1 + nginx/setup/nginx.conf | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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