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

10 Commits

Author SHA1 Message Date
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
Jürgen van Dijk
3704eb659c Add client_max_body_size to config (#253)
This will prevent `Request Entity Too Large` errors when uploading files.
2016-12-14 14:11:46 -06:00
Mark van Eijk
5b5f1af996 Fix for query string in PHP (#259)
When retrieving the query string in your app, it's twice the value it should be.

For example I have a request like "/overview?page=1" when I use request()->server('QUERY_STRING') I get "page=1&page=1" instead of "page=1".

Removing the ?$querystring for the Nginx config in the rewrite directive fixes this.
2016-12-14 14:11:27 -06:00
Adam Wathan
6727e43288 Use UUID for static asset path instead of "static" 2016-12-12 15:46:09 -05:00
Taylor Otwell
a501ebcd5b fix broken change 2016-12-09 09:20:28 -06:00
Taylor Otwell
fba8eb7602 fix nginx support 2016-12-08 08:32:55 -05:00
Adam Wathan
4c86e351a2 Use socket, store in valet home and set loose permissions 2016-12-08 08:32:54 -05:00
Adam Wathan
2ac1711eef Listen on port instead of socket 2016-12-08 08:32:54 -05:00
Adam Wathan
0da0fb3b1b Grueing around 2016-12-08 08:32:54 -05:00
Adam Wathan
aeb2a4423b Add stub 2016-12-08 08:32:22 -05:00