You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the packet-size limitations in nginx/apache/php are intended to prevent server abuse or overuse by malicious clients or bad code. But those aren't really goals for ddev, so it would be useful to a few people to:
Set nginx's client_max_body_size to 0 (disabling that feature) on both ddev-webserver and ddev-router.
Increase php upload_max_filesize and post_max_size
Increase php max_input_vars
I don't think there's an equivalent apache config, but it's worth looking.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
Host computer OS and Version: [e.g. Windows 10, macOS High Sierra]
Docker version information (use docker version) and insert it here.
ddev version information (use ddev version)
config.yaml contents for the misbehaving project
Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?
Additional context
Add any other context about the problem here. Thanks!
The text was updated successfully, but these errors were encountered:
Thanks @RobertLang - Could you say more about the situation where you hit the client_max_body_size problem in the router? I wasn't familiar with the technology you were testing.
I was integrating a resumable file upload for larger files using the tus protokoll (https://tus.io/) and tus-php (https://github.com/ankitpokhrel/tus-php).
Everything worked nicely until I hit the 100 M barrier configured in the ddev-router. The router returned an error: Nginx: 413 – Request Entity Too Large which, after doing some research on google, led me to the solution to change the client_max_body_size on the ddev-router container.
After changing that value uploads with several gigs of data were possible.
rfay
added a commit
to rfay/ddev
that referenced
this issue
Mar 28, 2019
Describe the bug
Most of the packet-size limitations in nginx/apache/php are intended to prevent server abuse or overuse by malicious clients or bad code. But those aren't really goals for ddev, so it would be useful to a few people to:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
docker version
) and insert it here.ddev version
)Additional context
Add any other context about the problem here. Thanks!
The text was updated successfully, but these errors were encountered: