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

382 Commits

Author SHA1 Message Date
Florian Schwaiger
dc291419e1 Merge remote-tracking branch 'upstream/master' 2016-12-24 17:07:17 -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
Alex Bouma
85712276b6 Fix for query string in secure config
See #259
2016-12-19 13:15:11 +01:00
Taylor Otwell
42e5fc325b version 2016-12-14 14:58:06 -06:00
Taylor Otwell
42834e2247 use local valet driver as name 2016-12-14 14:57:46 -06:00
Taylor Otwell
26d39ae3ab Merge branch 'master' of https://github.com/jasonvarga/valet into jasonvarga-master 2016-12-14 14:57:00 -06:00
Daniel Polito
5a25224e11 Upgrading PHP to 7.1 (#227) 2016-12-14 14:14:33 -06:00
M. Mikkel Rummelhoff
9c8f5de52a Fixes issue #244, where the Craft CMS admin panel is inaccessible (#252) 2016-12-14 14:12:19 -06: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
c5c3ca7460 Merge pull request #249 from miclf/patch-1
Fix typo in docblock
2016-12-13 10:32:10 -05:00
Adam Wathan
48f1648a4b Update version string 2016-12-13 08:24:48 -05:00
Adam Wathan
c95d923654 Also look for wp-config-sample when detecting WP 2016-12-13 08:21:43 -05:00
Adam Wathan
6727e43288 Use UUID for static asset path instead of "static" 2016-12-12 15:46:09 -05:00
Michaël Lecerf
d325eeca16 Fix typo in docblock 2016-12-11 22:50:30 +01:00
Adam Wathan
6376bfca82 Set correct SCRIPT_FILENAME for HTTPS configurations 2016-12-09 14:09:16 -05:00
Taylor Otwell
5921c7d238 version 2016-12-09 09:20:44 -06:00
Taylor Otwell
a501ebcd5b fix broken change 2016-12-09 09:20:28 -06:00
jerguslejko
0199394f34 tweak command 2016-12-09 01:35:26 +00:00
Taylor Otwell
502834d457 version 2016-12-08 16:36:56 -06:00
Taylor Otwell
3c3e474d0f Merge branch 'master' into nginx 2016-12-08 16:25:31 -06:00
Korvin Szanto
5134ce20c6 Add a concrete5 driver that provides the environment (#158)
* Add a concrete5 driver that provides the environment

* Use better directory for detection and allow for accessing separate php files
2016-12-08 16:19:00 -06:00
M. Mikkel Rummelhoff
10b7e64d89 Adds multi-locale support to the Craft CMS driver (#229) 2016-12-08 16:18:12 -06:00
Caleb Porzio
bb19f85748 Fix potential resolve() helper function conflict (#218) 2016-12-08 16:14:32 -06:00
Adam Wathan
3ea1b6a955 Update version string 2016-12-08 08:39:32 -05:00
Adam Wathan
3d0e099755 Remove grim array type hints 2016-12-08 08:32:55 -05:00
Taylor Otwell
a35b668aee working on tests 2016-12-08 08:32:55 -05: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
Adam Wathan
be89d96078 Send empty Content-Type header to force nginx to determine on it's own 2016-12-08 08:32:22 -05:00
Adam Wathan
e965fac863 Update version string 2016-12-08 08:28:59 -05:00
Adam Lavin
b2878a6d1a Update brew list to use runAsUser instead of directly sudoing 2016-11-23 21:52:56 +00:00
Adam Lavin
6aa1f4b7bf Run brew list as user
As brew no longer allows running itself as root, we need to run it at the current user. This resolves #221.
2016-11-23 16:29:27 +00:00
Jason Varga
637d78fd75 Support a SiteValetDriver in the site path 2016-11-15 19:47:03 -05:00
Keith Damiani
b366d5ebb4 Remove .DS_Store file from Caddy directory when starting Caddy 2016-10-28 16:48:16 -04:00
Adam Wathan
733747900e Revert to using port instead of socket to see if it helps stale page issue 2016-10-22 11:35:07 -04:00
Adam Wathan
4cb2e9d331 Allow homebrew to be installed in non-standard locations
Closes #197
2016-10-22 11:08:31 -04:00
Daniel Polito
e157d47bc7 Adding function_exists to retry 2016-10-21 11:39:00 -02:00
Adam Wathan
f9674b3c47 Update version string 2016-09-30 11:13:51 -04:00
Adam Wathan
1ed2e067c9 Reference Caddy issue re: internal directive in stubs 2016-09-28 17:17:04 -04:00
Adam Wathan
648ec077dc Remove mimes file 2016-09-28 17:14:54 -04:00
Adam Wathan
802cfb0525 Remove dead code 2016-09-28 17:10:49 -04:00
Adam Wathan
41a3d6c18a Explain this disgusting grue 2016-09-28 16:58:13 -04:00
Adam Wathan
22528cebaa Don't even set the INI setting because it doesn't work in 5.6, do this dumb hack instead. 2016-09-28 16:58:13 -04:00
Adam Wathan
3facbef790 Disable default_mimetype with ini_set instead of via config file 2016-09-28 16:58:13 -04:00
Adam Wathan
1c29674d7b Use a separate .ini file instead of editing the main php.ini file 2016-09-28 16:58:13 -04:00
Adam Wathan
73a205aa81 Serve static files through Caddy instead of PHP 2016-09-28 16:58:13 -04:00