mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
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.
This commit is contained in:
@@ -9,6 +9,7 @@ server {
|
||||
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
|
||||
root /;
|
||||
charset utf-8;
|
||||
client_max_body_size 128M;
|
||||
|
||||
location /VALET_STATIC_PREFIX/ {
|
||||
internal;
|
||||
|
||||
Reference in New Issue
Block a user