Skip to content

Adjust the default request body size limit for services #1927

@jvstme

Description

@jvstme

Problem

Many file uploads don't work with services behind dstack-gateway because of the 1MB request body size limit.

Solution

Make the limit less strict. For instance, Apache httpd defaults to 1GB.

See the client_max_body_size Nginx configuration option.

Workaround

Instruct the users to update Nginx configs manually.

Would you like to help us implement this feature by sending a PR?

Yes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions