Skip to content

Commit

Permalink
Merge pull request #174 from ckan/max-file-size
Browse files Browse the repository at this point in the history
default config for 100MB uploads
  • Loading branch information
kowh-ai authored Oct 9, 2024
2 parents 39727d9 + 6a6afb1 commit ce81191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion nginx/setup/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce81191

Please sign in to comment.