Skip to content

Make upload size configurable via ENV Vars #150

@1letter

Description

@1letter

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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions