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
Korvin Szanto
909ba9bd12
Use sockets instead of port 9000
2016-09-19 19:27:45 -07:00
Adam Wathan
4fe39532bf
Resecure TLS sites with configured domain, not dev
2016-08-18 18:57:17 -04:00
Adam Wathan
6800e3cb70
Fix broken tests
...
Not really stoked on these fixes but will revisit.
2016-08-18 18:55:20 -04:00
Adam Wathan
a54207f7cd
Generate new Caddyfiles for secure sites on install
...
Makes it easy for users to upgrade Valet if we change the Caddyfile
structure.
2016-08-18 18:54:50 -04:00
Adam Wathan
4aee028ca5
Fix incorrect path replacement for server.php
2016-08-18 18:54:07 -04:00
Adam Wathan
cf7911a0e5
Properly replace VALET_HOME_PATH in secure Caddy files
...
Fixes #117
2016-08-17 17:07:44 -04:00
Adam Wathan
12d418389d
Merge pull request #92 from kapersoft/server-log
...
Adds the option to view Caddy access- and error-log
2016-08-14 09:36:20 -04:00
Chris Brown
e88731b17c
Add missing descriptions
2016-08-11 00:42:12 -03:00
Chris Brown
77cd98f4cc
Add basic changes to alllow php71
2016-07-28 12:36:15 -04:00
Jan Willem Kaper
4fc1acb7c4
Adds the option to view the Caddy access- and error-log using 'valet server-log'
2016-06-15 22:57:58 +02:00
Gao Feng
cd1c1c9fd4
fix scan certificates directory error when first change domain
2016-06-10 17:59:58 +08:00
Lucas Michot
2497122810
Use strict comparisons ( #74 )
2016-05-27 10:36:50 -05:00
Jason P. Scharf
539898cd94
Fix spaces in path when using 'valet link' ( #62 )
...
* Fix spaces in path when using 'valet link'
* Remove custom function and use escapeshellarg()
2016-05-19 10:39:21 -05:00
Taylor Otwell
24039873f2
Fix brew installations.
2016-05-17 19:38:53 -07:00
Taylor Otwell
06166cfae7
fix sites directory
2016-05-13 12:39:40 -05:00
Taylor Otwell
9a1ad4e002
create sites directory
2016-05-13 12:37:24 -05:00
Taylor Otwell
16859b88aa
add secure and unsecure
2016-05-13 10:22:41 -05:00
Taylor Otwell
d7c6152f9e
shorten method
2016-05-12 21:26:13 -05:00
Taylor Otwell
62ba72a77a
fix open for symlinks
2016-05-12 21:24:28 -05:00
Daniel Morris
fe6fb947f7
Consistency changes ( #60 )
...
* Correct the return type annotation in a serves method
* Type-hint the driver in the abstract ValetDriver
* Correct the return type-hint in the sample ValetDriver
* Remove the return afrom the restartLinkedPhp method
* Remove the return annotation from the Caddy constructor
* Remove the return annotation from the Valet configuration constructor
* Removed the return from the prependPath method of the Configuration class
* Removed the return from the appendAsUser method of the Filesystem class
* Removed the return annotation from the Site constructor
* Corrected the parameter annotation of the link method in the Site class
* Order use statements by length in PhpFpm
* Remove the return annotation from the Valet constructor
2016-05-12 21:17:32 -05:00
Taylor Otwell
9f19714796
disable timeout
2016-05-12 09:16:35 -05:00
Taylor Otwell
064a62f3a6
fix file paths on extensions
2016-05-12 08:36:45 -05:00
Taylor Otwell
14588a40d8
load extensions
2016-05-11 20:32:53 -05:00
Taylor Otwell
f48b6c7563
combine vars
2016-05-11 19:49:17 -05:00
Taylor Otwell
fd595b5c71
run commands as sudo
2016-05-11 19:40:44 -05:00
Taylor Otwell
d98fce6f08
extract logic
2016-05-11 15:29:04 -05:00