Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client_max_body_size does not apply to HTTP #37

Open
frafra opened this issue Sep 13, 2024 · 2 comments
Open

client_max_body_size does not apply to HTTP #37

frafra opened this issue Sep 13, 2024 · 2 comments

Comments

@frafra
Copy link
Collaborator

frafra commented Sep 13, 2024

Hi :)
client_max_body_size works only when connecting to HTTPS, not when using HTTP (or doing HTTPS offloading in front of the service):

client_max_body_size 1500M;

@moovida
Copy link
Member

moovida commented Sep 16, 2024

Yeah, should be removing that one anyway. Not yet sure how to handle large mapsforge files though.

@frafra
Copy link
Collaborator Author

frafra commented Sep 16, 2024

The default client_max_body_size is 1M, which is rather small. It could help checking if compression is enabled.

There are different ways to handle very large file uploads.

Large files can be uploaded using TUS and/or S3 multipart uploads.

There is a client for DART and some support for Django, but they do not seem to be well maintained. We mostly use Uppy as an interface to upload data to a S3 storage via TUS, but using TUS in that scenario is entirely optional, since S3 supports multipart file uploads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants