1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Chris Brown
ff9edb9cf8 Increase default client_max_body_size and post_max_size to 512M 2020-03-03 14:31:55 -05:00
Chris Brown
30e28614f4 Increase default PHP memory_limit to 512M
PHP's default is 128M, but it's becoming common practice to set the value to 512M in dev and production
Plus, currently homestead sets it to 512M as well.
2020-03-02 11:28:54 -05:00
Chris Brown
bb59e1da2d Fix large-upload problems by setting PHP limits and Nginx max size
- Sets `client_max_body_size 128M` in `http` section of `nginx.conf`  so it covers all configs
- Adds `php-memory-limits.conf` to `php-fpm` conf folder, to set `memory_limit`, `upload_max_filesize`, `post_max_size` all to 128M

(Updates #253 by moving config location to cover all, since #253 didn't cover secure configs, etc)
2016-12-24 15:43:11 -05:00