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

236 Commits

Author SHA1 Message Date
Adam Wathan
9cae383c0d Use curly braces in string interpolation 2017-03-23 09:00:34 -04:00
Adam Wathan
02f0299fcb Formatting 2017-03-11 10:05:33 -05:00
Adam Wathan
7e1d239c18 Merge pull request #268 from antonioribeiro/lintNginxConf
Check nginx.conf for errors before restarting nginx
2017-03-11 10:05:08 -05:00
Adam Wathan
bfa3791253 Merge pull request #334 from leonjza/master
Remove sudoers entries
2017-03-07 10:36:28 -05:00
Adam Wathan
767d29d359 Fix issue when conf.d folder doesn't exist 2017-03-06 12:28:40 -05:00
Leon Jacobs
85c439b8c0 Remove sudoers entries 2017-03-04 16:53:49 +02:00
Adam Wathan
a80a24a459 Formatting 2017-02-27 10:03:20 -05:00
Antonio Carlos Ribeiro
2ed85e3e0a Check nginx.conf for errors before restarting nginx 2017-02-22 11:43:37 -03:00
Antonio Carlos Ribeiro
6f8c14271a Show install, start, stop and restart log info 2017-02-21 12:04:45 -03:00
Josh Manders
d80b996adf pretty print sites 2017-02-20 20:48:37 -06:00
Kennedy Tedesco
d8c137876f Dry's up PHP installation
Ref: https://github.com/laravel/valet/pull/261
2017-02-20 13:48:59 -03:00
Adam Wathan
a249072310 Merge pull request #277 from drbyte/fix-413-request-entity-too-large-and-uploads
Fix large-upload problems by setting PHP limits and Nginx max size
2017-02-20 09:25:12 -05:00
Adam Wathan
f98db814c6 Merge branch 'master' into master 2017-02-20 09:18:39 -05:00
Josh Manders
f51959f7ec add wildcard san certs 2017-02-17 18:10:41 -06:00
Adam Wathan
3027a0dbba Explicitly stop and start brew services instead of restart
This solves a mysterious issue that may or may not be specific to my
machine and it makes me very sad.
2017-01-21 12:00:05 -05:00
Pierre-Luc Brunet
94112bf660 Corrected left over "nginx" string left for stop command 2017-01-12 13:54:09 -05:00
Pierre-Luc Brunet
fa0456ea8f Uses the correct service name if nginx-full is installed instead of nginx 2017-01-04 14:45:44 -05:00
Pierre-Luc Brunet
976561a2bf Fix for issue #250 - brew package nginx-full not properly recognized as a valid nginx installation 2017-01-04 14:27:18 -05:00
Chris Brown
e208ca2340 Update minimum PHP requirement to 5.6
... because it's not actually compatible with 5.5 anymore - Ref: https://github.com/laravel/valet/issues/279
2016-12-27 15:58:16 -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
Daniel Polito
5a25224e11 Upgrading PHP to 7.1 (#227) 2016-12-14 14:14:33 -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
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
Taylor Otwell
a501ebcd5b fix broken change 2016-12-09 09:20:28 -06: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 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
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
802cfb0525 Remove dead code 2016-09-28 17:10:49 -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
Michael Gruschwitz
5da6c5a095 Move php-fpm socket
Subdirectories in /var/run are deleted on reboot. That causes php-fpm to fail after reboot, because the socket in /var/run/valet can't be created, since the subdirecotry does not exist. The php-fpm socket should be moved directly to /var/run.
2016-09-28 10:56:21 +02:00
Adam Wathan
e30dec5d5b Visibility keywords!! Gross. 2016-09-24 18:41:47 -04:00
Adam Wathan
028d2d5208 Fix conflicts 2016-09-24 10:35:22 -04:00
Adam Wathan
8831cfe7ce Explicitly set PHP FPM port on install 2016-09-23 10:15:11 -04:00
Adam Wathan
403e75d580 Rewrite TLS Caddy files on install
Porting this from master branch for now, makes it a lot easier for
people to go from master to 1.1.* since the master branch has a
different Caddyfile structure.

Since Caddy 0.9.* still has the X-Accel-Redirect issue re:
Content-Type, we can't tag on master yet, so this will help people get
back to a tagged release without having to manually fix a bunch of
Caddyfiles.
2016-09-23 09:50:09 -04:00
Taylor Otwell
a058c1251e remove logs method 2016-09-21 09:52:12 -05:00
Taylor Otwell
b52f463ecb remove superstition 2016-09-21 09:17:36 -05:00
Taylor Otwell
372775a4fa remove superstition 2016-09-21 09:16:07 -05:00
Taylor Otwell
04d7816bd2 spacing 2016-09-21 09:12:23 -05:00
Taylor Otwell
1fbff12915 fix spacing 2016-09-21 09:12:09 -05:00
Adam Wathan
11b9245434 Update to Caddy 0.9.1 to support Sierra 2016-09-20 11:15:38 -04:00