-
Notifications
You must be signed in to change notification settings - Fork 25
Small improvement: client_max_body_size >> 2MB #89
Comments
I can easily agree to your proposed modifications. There are two ways to make (default) file changes:
I forgot about the second option to be honest but we added that to make PR'ing these sort of system tweaks easier, no bash skills needed. I think you will be able to propose a PR with your eyes closed. Running a |
IIRC the UpdateShell is launched here cakebox/.cakebox/Vagrantfile.rb Line 186 in 102b0de
|
@dereuromark the Bake template for the generated vhosts is found here. Feel free to PR your update (and other tunes you might find useful). https://github.com/alt3/cakebox-console/blob/dev/src/Template/Bake/vhost_nginx.ctp |
Yeah https://github.com/alt3/cakebox-console/blob/dev/src/Template/Bake/vhost_nginx.ctp#L29 needs to be switched over to 7.2 once the upgrade is complete for example. |
Not really, it is already handled during the upgrade (e.g. 5 ref replaced by either 7.1 or 7.2). I was hinting at the 2MB request. |
Gotcha PS: Interesting, why it didnt fix it for me. But all right, I will retry. |
Probably due to a f** up on my behalf during progress but it is 100% reproducable for me now, works every single time. If you have other improvements besides the 2MB feel free to stick them in the template. |
Well, the defaults for session and php post limit size in general are bad for developing :)
The 128M is important and useful if you use phpmyadmin and need to import a bigger SQL dump. |
I see, do these setting work on the (per) vhost level as well? If so it would be nice to add them all there. If people don't like them they can easily adjust per site. |
I dont think so, those need to be in the main php.ini for both CLI and WEB to work. |
OK, I will put this on the list for the next fix. |
the default client_max_body_size is way too low for any development.
It would be nice if we could ship with
inside each generated sites-available conf file inside server{} block
The text was updated successfully, but these errors were encountered: