plone / plone/container-backend

Make upload size configurable via ENV Vars

Open
#150 9 comments 0 reactions 1 assignee View on GitHub

@1letter is already working on this.

Since Feb 6, 2025.

Dominant language
Shell
Stars
18
Forks
18
Avg merge
1h 32m
Merged PRs (30d)
2

Description

If i want to allow upload files greater 1GB i must patch zope.ini and zope.conf inside the container. that is not a handy solution.

i patch the zope.ini in my container image

[server:main]
# set to 3GB upload size
max_request_body_size = 3221225472

and i patch the zope.conf with:

<dos_protection>
    form-memory-limit 3GB
    form-disk-limit 3GB
    form-memfile-limit 4KB
</dos_protection>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.