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

34 Commits

Author SHA1 Message Date
Adam Wathan
fd8ef9980c Merge pull request #272 from stayallive/patch-1
Fix for query string in secure config
2017-02-20 09:28:29 -05: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
Josh Manders
f51959f7ec add wildcard san certs 2017-02-17 18:10:41 -06: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
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
Adam Wathan
6376bfca82 Set correct SCRIPT_FILENAME for HTTPS configurations 2016-12-09 14:09:16 -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
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
1ed2e067c9 Reference Caddy issue re: internal directive in stubs 2016-09-28 17:17:04 -04:00
Adam Wathan
802cfb0525 Remove dead code 2016-09-28 17:10:49 -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
898ed571bc Fix php-fpm socket location in caddy stubs 2016-09-28 11:43:52 +02:00
Michael Gruschwitz
b3ff443567 Update caddy stubs 2016-09-28 10:56:30 +02:00
Adam Wathan
3aaacbd64e Revert to serving static files through PHP until Caddy bug resolved 2016-09-24 10:21:35 -04:00
Korvin Szanto
909ba9bd12 Use sockets instead of port 9000 2016-09-19 19:27:45 -07:00
Adam Wathan
52ffbcd2e6 Document slight hackiness of 'internal /dev/null' 2016-08-18 19:06:36 -04:00
Adam Wathan
2c26848702 Use /dev/null as dummy internal folder 2016-08-18 18:54:07 -04:00
Adam Wathan
61cfa9fbe3 Start secure Caddyfiles from root and add dummy internal directive 2016-08-18 18:54:07 -04:00
Adam Wathan
4aee028ca5 Fix incorrect path replacement for server.php 2016-08-18 18:54:07 -04:00
Adam Wathan
3409f2998b Working on serving static files through Caddy instead of PHP 2016-08-18 18:54:07 -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
Taylor Otwell
16859b88aa add secure and unsecure 2016-05-13 10:22:41 -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
b22d3da81c fix replacement 2016-05-10 15:41:28 -05:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00