Skip to content

Commit

Permalink
default config for 100MB uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Oct 8, 2024
1 parent bf6d751 commit 6a6afb1
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 6a6afb1

Please sign in to comment.