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

20 Commits

Author SHA1 Message Date
Mikaël Popowicz
0c0ab726c0 🐛 Fixing Nginx configuration.
 Adding alias generation and launch daemon generation.
2021-02-22 18:43:39 +01:00
Mikaël Popowicz
2d5ee9d7cc Add loopback command. 2021-02-21 23:21:12 +01:00
Chris Brown
ff9edb9cf8 Increase default client_max_body_size and post_max_size to 512M 2020-03-03 14:31:55 -05:00
Chris Brown
36de050d32 Set robots nofollow for all valet share traffic
Replaces and closes #575 ... for reasons described there.
2019-11-30 16:55:48 -05:00
Bálint Szekeres
9d7214842b fastcgi_split_path_info with location regex fix 2019-10-17 16:12:21 +02:00
Chris Brown
d269621e98 Turn off logging of hits to robots.txt and favicon.ico
A long-requested adjustment to Valet is to bypass the logging of robots.txt and favicon.ico hits. Particularly when keeping an Ngrok session alive.

This update is consistent with default logging settings in Forge.
2019-09-09 17:29:48 -04:00
Matt Stauffer
9422e70798 Merge pull request #573 from corneliusio/master
Allow http2 server push for secured domains [BREAKING]
2019-09-09 13:54:38 -04:00
Chris Brown
fcd73d73bc Improve security by listening on 127.0.0.1 only
Fixes #772

I've been using this config change since Aug 17, 2019, without any negative side-effects.
All Valet services continue to work properly, and Valet Share still works just as expected.

If someone were to have a challenge with it, there's an easy downgrade: just remove the `127.0.0.1:` from these files, and run `valet tld test` to rebuild the individual site configs. Or just manually edit the `~/.config/valet/Nginx` site file manually.
2019-09-07 17:44:19 -04:00
Sahib J. Leo
001058414b #691 Surround with quotes all paths which might contain blank spaces. 2018-12-27 11:24:41 -05:00
Chris Brown
b803a37855 Change valet share to use port 60
Since the current TCP port 88 clashes with Kerberos, changing it to port 60 which IANA shows as unassigned, and other databases show as not being used in general practice.

Several alternates were researched, but show (although limited use, nevertheless possible) clashes with other systems, including ports 47, 81-90, 8080-8090, and 100. Various sources were referenced, and the overall conclusion is that 60 seems to be the safest and least likely to conflict.

Tested against a few limited firewall configs without issue.
Tested with both fresh new valet installs and an older install upgraded from 2.0.x.
2018-11-12 16:00:05 -05:00
Sergio Bruder
ac7b371d49 fix for share of secured sites 2018-09-14 03:39:33 -03:00
Cornelius Ukena
fe5828edd9 allow http2 server push for secured domains 2018-04-23 15:00:57 -05:00
Kim Ravn Hansen
b8bfe077b4 Ensure 128mb max client body size.
client_max_body_size does not propagate down from the http context into
the server context.

See this stack overflow for further details on the issue:
https://stackoverflow.com/questions/2056124/nginx-client-max-body-size-has-no-effect

This fix ensures that the max client body size is always the default
128mb as specified in nginx.conf.
2017-06-22 05:55:58 +02:00
Adam Wathan
fda0d3440d Fix issue with favicon 404s 2017-06-21 09:12:46 -04:00
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
Josh Manders
f51959f7ec add wildcard san certs 2017-02-17 18:10:41 -06:00
Alex Bouma
85712276b6 Fix for query string in secure config
See #259
2016-12-19 13:15:11 +01: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
fba8eb7602 fix nginx support 2016-12-08 08:32:55 -05:00